This repository contains a set of examples about the Quarkus framework.
See CONTRIBUTING for how to build these examples:
- Getting Started: Application creation, Rest endpoint, Dependency Injection, Test, Packaging
- Getting Started - Async: Illustrate how to use
CompletionStage
to handle asynchronous actions - Getting Started - Knative: Deployment of the Knative service to Kubernetes and/or OpenShift
- Application Configuration: How to configure your application
- JSON REST services: How to write JSON REST services
- Hibernate ORM and RESTEasy: Exposing a CRUD service over REST using Hibernate ORM to connect to a PostgreSQL database
- Hibernate ORM with Panache and RESTEasy: Exposing a CRUD service over REST using Panache to connect to a PostgreSQL database
- Scheduling periodic tasks: How to schedule periodic jobs
- Using Web Sockets: Demonstrate how to use web sockets and serve static assets
- Startup and Shutdown actions: Explains how to execute code when the application starts and stops
- Validation with Hibernate Validator: How to use Hibernate Validator/Bean Validation in your REST services
- REST Client: How to use MicroProfile's REST Client
- OpenTracing and Jaeger: How to use MicroProfile OpenTracing and Jaeger to monitor application performances
- MicroProfile Health: How to use MicroProfile Health
- MicroProfile Fault Tolerance: How to use MicroProfile Fault Tolerance
- MicroPofile messaging MQTT: How to interact with MQTT using MicroProfile reactive messaging
- MicroProfile Metrics: How to use MicroProfile Metrics
- MicroProfile JWT RBAC: How to use MicroProfile JWT RBAC
- Keycloak Security: How to use Keycloak
- Spring DI compatibility layer: How to use our Spring Dependency Injection compatibility layer
- Infinispan Client: How to use Infinispan Client. Covers creating caches and simple get/put
- Using Vert.x: How to use the Vert.x extension
- Camel java route: How to use a Camel java route
There is documentation published at https://quarkus.io (docs' sources are here).
- Maven 3.5.3+
- Java - OpenJDK 1.8+
- For the GraalVM requirements, see our Building native image guide