~/talk

Hexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable

Talkat Jfokus 2025 · 2025-02-03..02-05· [software-architecture, java]
links:none on file
slides:none on file

Live coding shows a Java Maven project that starts with a JUnit functional test, implements hexagonal architecture with domain-first interfaces, and wires a Spring Boot infrastructure module via custom annotations so the framework depends on the domain not vice versa. A SWAPIs client (called sppy) handles pagination, string passengers like "unknown" or "1,000", and converts them to int; a stub lets teams deploy to preprod while consumers integrate. Tests and an integration mock server pass, and adding REST resources creates an anti‑corruption layer so renaming domain fields avoids breaking clients via ports and adapters.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Layered architecture problems
  3. 6:58Hexagonal architecture intro
  4. 10:34Core concepts
  5. 13:09Ports and adapters
  6. 13:30Live coding domain layer
  7. 23:27Domain logic via controller
  8. 35:56External APIs with adapters
  9. 45:13Data inconsistencies in adapters
  10. 46:19Evolving domain models
  11. 49:07Summary and Q&A
~/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.