Part 2: REST backends and data access¶
Choose a recipe by persistence API, database, JSON provider, or HTTP payload type. The repository has Hibernate ORM and Hibernate Reactive examples, reactive PostgreSQL clients, MongoDB, Jakarta Data, and Vert.x routing.
Each sample is an independent Maven module. Check its POM and
application.properties for the precise extensions and database setup; do
not assume datasource settings are shared between samples.
Relational persistence¶
- Hibernate Reactive with Panache
- Hibernate Reactive with the session API
- Reactive PostgreSQL Client
- Hibernate ORM with Panache
- Kotlin coroutines with Hibernate Reactive
- Jakarta Data repositories
- Vert.x Router with PostgreSQL
- OpenAPI and Swagger UI for RESTEasy Classic
The Spring Data JPA sample is part of Getting started.
MongoDB¶
JSON and request bodies¶
API documentation¶
The rest-classic sample includes MicroProfile OpenAPI annotations and the
SmallRye OpenAPI extension. See OpenAPI and Swagger UI to
inspect and serve its API description.
What's next¶
- Compare REST client implementations.
- See GraphQL data and APIs.