
Quarkus for Spring Developers and What Changes in Practice
Map what you know from Spring Boot to Quarkus 3, from CDI and RESTEasy to dev mode and native images, and see where the models really differ.
Tag
16 posts

Map what you know from Spring Boot to Quarkus 3, from CDI and RESTEasy to dev mode and native images, and see where the models really differ.

Create a Quarkus 3 project, add a REST endpoint with JSON, run it in dev mode and write a test, in about fifteen minutes and with no prior Quarkus knowledge.

Fix Quarkus build failures about unsatisfied or ambiguous CDI dependencies, including unused beans that were removed and libraries missing an index.

How Quarkus extensions run build steps, which configuration is fixed at build time, and what that changes about properties, profiles and library choices.

Use Quarkus dev mode for live reload, the keyboard commands and continuous testing that reruns tests when you save, and know what dev mode cannot reload.

Let Quarkus start a PostgreSQL, Kafka or Redis container in dev mode and tests when no connection is configured, and learn how to pin images and turn it off.

Fix a Quarkus native executable that builds and then fails at runtime with missing classes or methods, by registering classes for reflection correctly.

Why Quarkus starts quickly: it moves annotation scanning, dependency injection wiring and proxy generation from application startup to the build.

Configure a Quarkus application with profiles: the built in dev, test and prod, the percent prefix syntax, custom profiles, environment variables and secrets.

Learn how Quarkus ArC implements CDI: scopes, injection, producers, qualifiers, events and interceptors, and the build time rules that differ from full CDI.

Use Hibernate ORM with Panache in Quarkus: active record and repository styles, queries, paging and transactions, with Dev Services as the database.

Use Hibernate Reactive in Quarkus with Mutiny: the Uni and Multi return types, reactive Panache, transactions and when blocking ORM is the better choice.