This hands-on tutorial shows how to quickly become productive with Quarkus with features that you’ll use on a day to day basis like logging, configuration, testing. This tutorial will also cover technologies used by most web applications like REST, persistence, and security.
This tutorial does assume some degree of experience with either Java EE or Spring, but the step-by-step nature of this tutorial does not require it.
The domain model for this tutorial is simply a Training
service
that communicates with a Greeting service.
The goal is to keep the domain model simple to focus on APIs and concepts.
The documented steps in this lab follow a pattern:
-
Write code
-
Test the code (curl or
mvn test
) -
Verify output
This pattern flows quickly due to Quarkus' Live Coding feature and makes checking code changes near-instantaneous, so each change is immediately evaluated.
-
Java 8 or 11
-
Maven 3.6.2+
-
OPTIONAL: curl. The instructions use curl, but tools like HTTPie or even a browser is sufficient
-
OPTIONAL (native compilation): GraalVM 20.2.0, configured appropriately
-
An IDE.
-
IntelliJ Community Edition Plugin (Red Hat)
-
IntelliJ Ultimate
-
-
Source code is available on GitHub
-
Tutorial Instructions
-
The accompanying slides are available here