Part 2: Using Hexagons to Create a Solid Foundation
By following a real-world example of a system that manages a telco's network and topology inventory, in this part, you will learn how to implement the building blocks for creating such a system using hexagonal architecture ideas.
This is a hands-on part where we'll have the opportunity to get our hands dirty while applying the hexagonal architecture principles. We start by implementing the Domain hexagon, which contains the domain model of the topology and inventory system. Then, we implement the Application hexagon by using use cases and ports to express system behaviors. To enable and expose the features provided by the hexagonal system, we use adapters to implement the Framework hexagon. Closing this part, we learn how to use Java modules to apply dependency inversion in our hexagonal system.
This part has the following chapters:
- Chapter 6, Building the Domain Hexagon
- Chapter 7, Building the Application...