I blogged his comment about rich- vs. anemic domain models here. Here some more tidbits:
Thursday, September 25, 2008
Tidbits from Adam Bien
I was attending Adam Biens workshop 'Designing The Boundary - Rich UI Meets Efficient Java EE Backend' at the workshop-days of /ch/open.
I blogged his comment about rich- vs. anemic domain models here. Here some more tidbits:
I blogged his comment about rich- vs. anemic domain models here. Here some more tidbits:
Subscribe to:
Post Comments (Atom)
Why is the DAO pattern dead? What superceded it ?
ReplyDeleteI think you should ask Adam Bien himself ... he is writing a book about "Rethinking Patterns".
ReplyDeleteI think the main argument is, that JPA is already enough encapsulation for data-access ...
The EntityManager in JPA is basically a very generic DAO. For many applications this is enough, you can use the EntityManager directly in your business components.
I am myself not completely convinced by this argumentation.
If anybody has arguments for using DAOs on top of the EntityManager, I would be interested...