« Welcome to Matthew... | Main | Unexpected Christmas... »

Carlos on Hibernate vs. OJB.

Carlos says that, right now, the Hibernate persistence framework is a better choice than Jakarta OJB. He also criticizes Jakarta OJB for it's emphasis on JDO.  I have to agree with his assessment of Hibernate vs. Jakarta OJB, but I don't agree 100% with Carlos on JDO.

Carlos does not like JDO, but like it or not JDO is the standard Java persistence API.  Currently, there are only a few small vendors supporting JDO (SolarMetric, SignSoft, and PrismTech to name a couple), but someday JDO could become the defacto standard.  If that happens, then support for the JDO API will a very important feature.  For that very reason, I wanted to use Jakarta OJB in my WROX JSP chapter on database access.  However, I found that the Jakarta OJB implementation of JDO was just not ready for prime-time. I wanted to use an open source framework, so I decided to use Hibernate instead. Plus, the Hibernate docs are very nice.

Now, it has come out that (apparently) the Jakarta OJB implementation of JDO contains some stolen code.  I guess that means than an open source version of JDO is not going to happen, at least not in the near future.

I can't speak about the technical merits of JDO.  I don't know enough about JDO to compare JDO vs. any other persistence API.  Perhaps somebody who does (Carlos?) can break it down for us.

Comments:

As one of the core OJB developers I'd like to correct some points.
- OJB is not focussing on JDO. OJB is focussing on transactional object persistence. We provide several "personalities" to give users their API of choice.
We currently support ODMG3.0, JDO1.0 and our own abstracted Object level transaction API (called OTM).

OJB has a layered architecture with a persistence kernel reponsible for all the O/R stuff. This kernel is shared by all three toplevel personalities.

we have *not* been working on JDO for months. We are concentrating on a stable 1.0 release. JDO is in the 2.0 scope! So statements like "OJB is losing its way by focussing on JDO" do not make any sense.

- OJB did not steal any code! We have a little JDO prototype that has not been maintained for months. By accident one of our developers checked in some interface definitions from the JDORI codebase. These interfaces were not even referenced by our actual code!
We settled this issue within hours by simply deleting the stuff from our CVS.

I don't see why such a minor incident should prevent us from building a OSS JDO implementation?

Posted by Thomas Mahler on December 13, 2002 at 08:03 PM EST #

Post a Comment:
  • HTML Syntax: NOT allowed

« Welcome to Matthew... | Main | Unexpected Christmas... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Java, some may be related to this entry.