Should Enterprise Java entities be dumb?

前端 未结 8 631
醉酒成梦
醉酒成梦 2020-12-02 14:32

In our legacy Java EE application, there are loads of value object (VO) classes which typically contain only getters and setters, maybe equals() and hashC

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 15:30

    Beyond the Fowler article mentioned earlier, there is a full treatise on rich vs. anemic domain models in Eric Evans's book Domain Driven Design(2004).

    Also, check out http://ffffdcommunity.org/

提交回复
热议问题