10. DDD (1)
Object
Entities Objects with a distinct identity
ID
Value objects Objects with no distinct identity
Factories Define methods for creating entities
Repositories Manage collections of entities and
encapsulate the persistence framework DAO
Services Implement responsibilities that can’t be assigned
to a single class and encapsulate the domain model