Hexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
summary
Live coding shows a Java Spring Boot app built domain-first with hexagonal architecture, unit and integration tests (JUnit, mock server) and a GitLab repo and slides linked. The domain module contains pure business logic (assemble a fleet for 150 passengers, example with five survivors and the Millennium Falcon with capacity six), adapters implement a StarshipInventory that handles swappy pagination and messy "passengers" strings, controller maps domain objects to REST resources, tests run green and a production stub enables incremental deployment.
AI-written summary · about
chapters (11)
- 0:00The rebels' problem
- 0:40Swapping and AI
- 1:43Classic layer flaws
- 6:40Hexagonal architecture
- 9:34API and SPI components
- 11:49Coding the domain
- 20:23Building the controller
- 31:35Integration testing
- 32:34Implementing the swappy client
- 40:34Refactoring for scalability
- 45:11Conclusion
related talks
48mHexagonal Architecture in Practice, the Live Coding That Will Make Your Apps Plain... (live)
50mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
46mHexagonal Architecture in Practice That Will Make Your Applications More Sustainable
46mHexagonal Architecture in Practice
25mHexagonal Architecture in Monoliths and Microservices
15mHexagonal Architecture: How to Beat Spaghetti Code?
52mWhy not all hexagons have eight sides
46mHexagonal at Scale, with DDD and microservices!
