Hexagonal Architecture in Practice That Will Make Your Applications More Sustainable
summary
Live coding builds a hexagonal Java app (Maven, JUnit) with a pure domain module and a Spring Boot infrastructure module that adapts a public Swappy REST API via a Swappy client and mock server. Features: API/SPI interfaces, a fleet assembler that passes an acceptance test for 150 passengers and a demo case of five survivors (Millennium Falcon capacity 6), stubs-in-production for early client feedback, conversion/anti-corruption logic to turn Swappy strings into ints, and controller resources to avoid breaking consumers — tests pass, Swappy certs fail.
AI-written summary · about
chapters (8)
- 0:00Introduction and rescue mission
- 7:28Problems with layered architecture
- 10:16Hexagonal architecture explained
- 13:03Live coding domain layer
- 22:39Adding controller and integration
- 33:07Integrating external service
- 42:27Refactoring and API versioning
- 45:41Q&A and conclusion
related talks
50mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
47mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
48mHexagonal Architecture in Practice, the Live Coding That Will Make Your Apps Plain... (live)
46mHexagonal Architecture in Practice
15mHexagonal Architecture: How to Beat Spaghetti Code?
25mHexagonal Architecture in Monoliths and Microservices
52mWhy not all hexagons have eight sides
46mClean & Hexagonal Architecture - it really works!
