Chapter 8: Building the Framework Hexagon

When building a hexagonal application, the last step consists of exposing application features by connecting input adapters to input ports. Also, if there is any need to get data from, or persist it inside, external systems, then we need to connect output adapters to output ports. The Framework hexagon is the place where we assemble all the adapters required to make the hexagonal system.

We first created the domain model using things including entities, value objects, and specifications in the Domain hexagon. Then, in the Application hexagon, we expressed the user's intent using use cases and ports. Now, in the Framework hexagon, we have to employ adapters to expose system features and define which technologies ...

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.