~/talk

Let's build components, not layers

Talkat Spring I/O 2022 · 2022-05-26..05-27· [software-architecture, component-design]
speakerdeck:thombergs
slides:none on file

Argues that code is easier to read and evolve when organized as nested components with a clear api/internal package per component instead of horizontal layers, demonstrates a working “check engine” built in Kotlin/Java on Spring Boot (queue, runner, database, and top‑level scheduler and query APIs) and shows extraction to a modular monolith is possible. Enforces boundaries with a single ArchUnit rule blocking external access to internal packages, uses Spring auto‑configuration and SQS for the queue, and the design proves practical.

AI-written summary · about

  1. 0:00Introduction
  2. 4:50About the speaker
  3. 5:50Why organise code?
  4. 8:47What's wrong with layers?
  5. 12:09What's wrong with vertical slices?
  6. 14:36Clean / Hexagonal architecture
  7. 21:38Component-based architecture
  8. 30:58Field Study - Building a check engine component
  9. 43:44Why build components?
  10. 47:03Thank you
~/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.