Section 1: Architecture Fundamentals

In this section, you will gain a solid understanding of hexagonal architecture elements: domain entities, use cases, ports, and adapters. Starting with a discussion about why we would apply hexagonal architecture principles to our project, we progressively advance our exploration by learning how to organize problem domain code with Domain Driven Design techniques.

Then, we examine the important role use cases and ports play in expressing system behaviors. Moving ahead, we explore how adapters allow the hexagonal system to be compatible with different protocols and technologies. Finally, we close the section by discussing how driving and driven operations influence the behaviors of a hexagonal system.

This ...

Get Designing Hexagonal Architecture with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.