spring-boot-data-ddd
Installation
SKILL.md
Spring Boot Data Layer for DDD
Implements DDD tactical patterns with Spring Data JPA and Spring Data JDBC in Spring Boot 4.
Technology Selection
| Choose | When |
|---|---|
| Spring Data JPA | Complex queries, existing Hibernate expertise, need lazy loading |
| Spring Data JDBC | DDD-first design, simpler mapping, aggregate-per-table, no lazy loading |
Spring Data JDBC enforces aggregate boundaries naturally—recommended for new DDD projects.
Core Workflow
- Define aggregate root → 2. Map value objects → 3. Create repository → 4. Implement service layer → 5. Add projections
See WORKFLOW.md for detailed step-by-step instructions with code examples.