Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using CMP2.0, JDO, DAO?

 
Jane Somerfield
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me with the pros and cons of
CMP2.0 and JDO?
I know CMP is the standard, and JDO is not.
What about the transaction management?
What doe JDO has, but DAO can not do?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For one, CMP (i.e. a full J2EE stack) is heavier than just a JDO implementation. Furthermore, CMP as the implementation technology tends to affect your design more intrusively than JDO, which is close to transparent.
I know CMP is the standard, and JDO is not.
Well, JDO is a standard as in "there's a JSR for it in the JCP", but CMP is certainly more widely used to date.
What about the transaction management?
Both technologies support transactions.
What doe JDO has, but DAO can not do?
Standard interfaces? Really, the question is kinda weird as JDO is a standard API while DAO is a design pattern...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic