File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB vs. JDO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB vs. JDO" Watch "EJB vs. JDO" New topic


Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

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.
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
There`s been a similar discussion on this forum lately.
Here`s the link (eammon pointed some disadvantages on ejbs)
himanshu airon

Joined: Dec 10, 2001
Posts: 13
Hope this would answer your questions
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Thanks for the links guys!
Christopher Keene
Wavemaker Support

Joined: Apr 08, 2004
Posts: 2
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
Ranch Hand

Joined: Apr 15, 2004
Posts: 181
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

Roland Barcia: IBM Distinguished Engineer, CTO Mobile for Lab Services
I agree. Here's the link:
subject: EJB vs. JDO
jQuery in Action, 3rd edition