All the new Java 22 features with examples: Unnamed Variables & Patterns, Stream Gatherers, Foreign Function & Memory API, Launch Multi-File Source-Code Programs ... and more!
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”.