• Post Reply Bookmark Topic Watch Topic
  • New Topic

DAO vs JDO  RSS feed

 
siva kumar
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is to use

either DAO or JDO


how to decide
 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
DAO are classes which you define to make it easier to accessing your data
and seperating data access to another layer ,
in brief : to encapsulate data access and manipulation in a separate layer(S),you use DAO.

But JDO is a new technology for persistence layer it has its own specefication ,-you think it something like CMP ,BMP- JDO goal is to define some interfaces to make object persistence quit easy and transparent.
it has its own transaction managments , Object states , OR mapping method ,..

so you can not use VS or comparesion between JDO and DAO because you can have your DAO classes around some JDO base classes.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!