Tagged “Ports-and-Adapters”
2 articles with this tag.
- Spring Boot ImplementationA complete, tested order-management service in Spring Boot 4 and Java 21, built with ports and adapters: package structure, domain model, use cases, REST and JPA adapters, wiring, and tests that run without Spring or a database.
- Layered vs HexagonalHow classic layered architecture and Hexagonal Architecture (Ports and Adapters) differ in dependency direction, testability and cost — what ports and adapters are, why each port exists, and when a simple layered design is enough.