Skip to content

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

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