
Quarkus
Quarkus REST Jackson API Building With Resources and DTOs
Build a REST API in Quarkus with the quarkus-rest and quarkus-rest-jackson extensions: resources, DTO records, status codes, exception mappers and a test.
7 min read
Tag
16 posts

Build a REST API in Quarkus with the quarkus-rest and quarkus-rest-jackson extensions: resources, DTO records, status codes, exception mappers and a test.

Validate input in Quarkus with Hibernate Validator: constraints on request records, Valid on resources, method parameters and a custom error response.

Secure a Quarkus service with OIDC and Keycloak: bearer token mode, Dev Services for Keycloak, role based access with annotations and testing with tokens.

Run periodic and cron jobs in Quarkus with the Scheduler extension, handle concurrency and identity, and switch to Quartz for clustered, persistent jobs.