Building Microservices With Red Hat Quarkus
Join the DZone community and get the full member experience.Join For Free
Red Hat Quarkus is supersonic, subatomic Java framework for creating cloud native apps and services using the JEE specification. It supports a full project lifecycle, using its own Maven dependency management and build plugin.
More about the lifecycle is explained below.
Red Hat Quarkus provides its own Maven support to package code and its dependencies, as Uber jar including the container itself. For this, you need to add the following build plugin and application configuration (until the time that a maven property is available).
You may also like: DZone Refcardz: Quarkus.
Red Hat Quarkus provides multiple embeddable containers that can be used as a dependency. JAX-RS support is provided by a
ARed Hat Quarkus container can be launched using multiple options
- Dev - Just run following Maven goal on project.
- Prod - The Maven package generate a fat jar, which contains a generated main class and JAX-RS application that can be run using plain Java.
The complete example can found here at microservice-starter-quarkus.
Opinions expressed by DZone contributors are their own.