appendix-a

Appendix A. Open-source companion libraries

 

Every pattern in this book is backed by a set of open-source libraries that provide the annotations, contracts, bus infrastructure, transactional bridge, and architectural rules you've seen since chapter 3. This appendix is your quick-reference guide: what each library provides, how they depend on each other, and how to wire them into your own project.

All libraries share a single Maven group ID:

<groupId>io.github.emedina</groupId>

The companion repository at https://github.com/emedina/hexagonal-architecture-manning provides the complete code organized by chapter, with precise listing-to-file mappings.

git clone --recursive https://github.com/emedina/hexagonal-architecture-manning.git

A.1 Overview: What the architecture kernel provides

A.2 Stereotype annotations and domain base types

A.3 Command bus: Standard and Either-based

A.4 Query bus: Standard and Either-based

A.5 Transactional bridge: Either-aware rollback

A.6 ArchUnit rules for hexagonal enforcement

A.7 The reference application