DDD and JPA: Proceed with caution
DDD and JPA: Proceed with caution
Domain-driven design promotes the use of a rich domain model, as opposed to an anemic one. However, mapping potentially complex value objects, entities and aggregates to a relational database can be a challenge. In this talk we'll see how this can be tackled with JPA, what are some problems and limitations of the approach, and discuss several alternatives.