Implementing DDD with the Spring Ecosystem
summary
Three small Spring Boot apps (credit sales funnel, scoring engine, credit agency) run a working DDD example that wires Spring Boot Spring Data Spring Cloud Stream with RabbitMQ and HTTP Atom feeds and uses Spring application events for JVM-local decoupling. The scoring domain uses four aggregates implemented as Spring‑free plain Java with package visibility and builder patterns; repositories wrap Spring Data JPA and persist projections. ArcUnit enforces aggregate packaging rules. Events carry the full credit application payload and the feed poller runs every 30s; the demo project is on GitHub.
AI-written summary · about
chapters (9)
- 0:00Introduction to DDD
- 2:57Bounded Contexts
- 9:02Entities and Value Objects
- 12:57Aggregates and Rules
- 17:36Case Study Example
- 22:02Encapsulating Aggregates
- 30:30Application Services
- 35:25Event-Driven Communication
- 44:29Internal Events and Summary
related talks
49mDDD Strategic Design with Spring Boot
01h 01mImplementing DDD Patterns with Spring
01h 13mRefactoring to a System of Systems
50mEvent Driven Microservices with Axon and Spring Boot: excitingly boring
47mSpring For Architects
01h 09mBootiful Spring Boot: A DOGumentary
53mSpring and Messaging: The next development generation
50mBootiful Spring Boot 4
