Skip to content

fipro78/osgi-jakartars

Repository files navigation

Example for using the OSGi Whiteboard Specification for Jakarta™ RESTful Web Services

This repository contains an example to show how to create a REST-based service out of an OSGi service by using the Whiteboard Specification for Jakarta™ RESTful Web Services and the OSGi Technology Whiteboard Implementation for Jakarta RESTful Web Services reference implementation.

There are blog posts related to this repository that explain the details:

Build Images with CRaC Support

This repository also contains sources to create container images with checkpoints, to increase the startup time.

First you need to build the application from the commandline in the repository root folder via

mvn clean verify -f jakartars/pom.xml

Once the build succeeds, the application jar files are copied to the checkpoint_container folder. You can now execute the build_* scripts, to create different types of images, either via Docker oder Podman.

For example:

Build Application Container Image with Azul Zulu JRE on Ubuntu (Docker)

./build_crac.sh docker ubuntu_jre

Build Application Container Image with OpenJ9 JRE on UBI (Podman)

./build_criu.sh podman ubi_crac_jre

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published