Examples:
Content
- #1: quarkus-hibernate-orm-panache-quickstart
- #2: quarkus-hibernate-reactive-panache-quickstart
- #3: quarkus-reactive-panache
- #4: quarkus-mongodb-quickstart
- #5: quarkus-mongodb-reactive-quickstart
Example#1
quarkus-hibernate-orm-panache-quickstart
Description and code: https://jreact.com/index.php/2024/01/11/quarkus-hibernate-orm-panache-quickstart/
Quarkus 3.6.5
This is a minimal CRUD example exposing a couple of endpoints over REST.
REST Data with Panache automatically creates REST resources based on the interfaces available in your application.
This is using:
- RESTEasy to expose the REST endpoints
- Hibernate ORM and Panache to perform the CRUD operations on the database
- A PostgreSQL database
Requirements
To compile and run this demo you will need:
- JDK 11+
- GraalVM (see: https://jreact.com/index.php/quarkus-2/native-executable/)
In addition, you will need either a PostgreSQL database, or Docker to run one.
Example#2
quarkus-hibernate-reactive-panache-quickstart
Description and code: https://jreact.com/index.php/2024/01/12/quarkus-hibernate-reactive-panache-quickstart/
Quarkus 3.6.4
This is a minimal CRUD example exposing a couple of endpoints over REST.
This example is using:
- RESTEasy Reactive to expose the REST endpoints
- Hibernate Reactive with Panache to perform the CRUD operations on the database
- A PostgreSQL database
- ArC, the CDI inspired dependency injection tool with zero overhead
Requirements
To compile and run this demo you will need:
- JDK 11+
- GraalVM (see: https://jreact.com/index.php/quarkus-2/native-executable/)
In addition, you will need either a PostgreSQL database, or Docker to run one.
Example#3
quarkus-reactive-panache
Description and code: https://jreact.com/index.php/2024/01/13/quarkus-reactive-panache/
Quarkus 3.6.4
This is a minimal CRUD example exposing a couple of endpoints over REST.
This example is using:
- RESTEasy Reactive to expose the REST endpoints
- Hibernate Reactive with Panache to perform the CRUD operations on the database
- A PostgreSQL database
- ArC, the CDI inspired dependency injection tool with zero overhead
Requirements
To compile and run this demo you will need:
- JDK 11+
- GraalVM (see: https://jreact.com/index.php/quarkus-2/native-executable/)
In addition, you will need either a PostgreSQL database, or Docker to run one.
Example#4
quarkus-mongodb-quickstart
Description and code: https://jreact.com/index.php/2024/01/26/quarkus-mongodb-quickstart/
Quarkus 3.6.6
Example#5
quarkus-mongodb-reactive-quickstart
Description and code: https://jreact.com/index.php/2024/02/21/quarkus-mongodb-reactive-quickstart/
Quarkus 3.6.6
