In the fourth part of the series on hexagonal architecture, we migrate the existing application to a Quarkus application... without changing a line of code in the application core.
In this article, I will show you step by step how to implement a Java application with hexagonal architecture – and how to enforce compliance with the architectural rules using Maven and the library “ArchUnit”.
The new Java 21 features with examples: Virtual Threads, Sequenced Collections, Record Patterns, Pattern Matching for switch; new preview features: String Templates, Unnamed Patterns and Variables, Unnamed Classes and Instance Main Methods ... and more!
In this article, I'll show you how to install several Java versions simultaneously in Windows and how to switch between them on the command line with short commands.