Building Modular Monoliths using Spring Modulith
summary
Builds a runnable Spring Boot monolith with Spring Modulith enforcing module rules via a JUnit modularity test that fails on non‑exposed types and circular dependencies, demonstrates event durability with an event outbox persistence table (optional RabbitMQ fan‑out), auto‑generated C4/PlantUML diagrams and Zipkin-style traces, and a migration path: refactor to package‑by‑feature, mark modules open selectively, separate schemas per module. Demo code and tests run and show violations when rules are broken and pass after fixes.
AI-written summary · about
chapters (9)
- 0:00Introduction to modularity
- 4:20Modular monolith architecture
- 9:05Spring Modulith principles
- 13:24Implementing modularity
- 20:13Managing module boundaries
- 29:03Event-driven integration
- 40:50Documentation and monitoring
- 46:41Evolutionary design strategy
- 58:33External event integration
related talks
51mBuilding better monoliths – Implementing modulithic applications with Spring
01h 01mBetter Monoliths — Modulithic Applications with Spring Boot
01h 11mSpring Modulith – Spring for the Architecturally Curious Developer
46mFrom Chaos to Cohesion: Building Modular Monoliths in the Real World
53mCrafting a self-documenting Modular Monolith with DDD principles (theory not included)
50mSpring Modulith – Spring for the Architecturally Curious Developer
50mSpring for the architecturally curious developer
03h 03mSpring Modulith – A Deep Dive (Workshop)
