~/talk

Hexagonal Architecture in Practice That Will Make Your Applications More Sustainable

Talkat Codemotion Madrid 2025 · 2025-05-20..05-21· [software-architecture]
slides:none on file

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

  1. 0:00Introduction and rescue mission
  2. 7:28Problems with layered architecture
  3. 10:16Hexagonal architecture explained
  4. 13:03Live coding domain layer
  5. 22:39Adding controller and integration
  6. 33:07Integrating external service
  7. 42:27Refactoring and API versioning
  8. 45:41Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.