• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using CMP2.0, JDO, DAO?

 
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
reply
    Bookmark Topic Watch Topic
  • New Topic