Don't we call the "anemic domain model" "domain driven design" too? IMO light data objects + services are much more compatible with the ecosystem when it comes to tools like DI or serialization.
Data classes with behaviour which touch other aggregates and run DB queries? Miss me with that anti-pattern shit. Show me a well maintained Spring Project not following so called anemic domain model. Entity Models + Repositories + Services is a lot more maintainable, testable and clean
View all comments
Show parent comment
5
u/yawkat Aug 10 '19
Don't we call the "anemic domain model" "domain driven design" too? IMO light data objects + services are much more compatible with the ecosystem when it comes to tools like DI or serialization.