Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB vs. JDO

 
Barry Andrews
Ranch Hand
Posts: 523
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was reading the introduction to "Java Data Objects" in the book store and it seems that JDO is supposed to take the place of EJB's. I don't really hear much about EJB's any more, at least not like I used to. I was wondering if anyone has comments about what the current trend is, and has anyone used JDO in a real project.
thanks,
Barry
 
Leandro Melo
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There`s been a similar discussion on this forum lately.
Here`s the link (eammon pointed some disadvantages on ejbs)
http://www.coderanch.com/t/313798/EJB-JEE/java/Entity-Bean-Vs-DAO
Regards,
ltcmelo
 
himanshu airon
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope this would answer your questions
JDO Vs EJB
Regards
Himanshu
 
Barry Andrews
Ranch Hand
Posts: 523
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the links guys!
 
Christopher Keene
Wavemaker Support
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDOs started out as a standard for mapping objects to either OODBs or RDBs. The initial version of JDO had some design features that made working with an OODB easier but working with an RDB harder (like no support for the Object-Relational mapping). Much of that has been addressed in later specs, but the main commercial vendors of JDO products continue to include OODB companies.
There are a number of "best of breed" object-relational mapping products that address the performance issues of EJBs without requiring JDOs.
EdgeXtend from Persistence Software and Toplink from Oracle are two such products.
Some links for more information on this include:
<vendor stuff>
1. Persistence object-relational mapping (BMP or POJO)
2. Persistence distributed object caching
- chris
 
Roland Barcia
author
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDO is an alternative only to Entity Beans, not EJB as a whole. You can use Session Beans and Message Driven Beans with JDO. Please do not say JDO vs. EJB. Say JDO vs. ENtity Beans
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic