Saturday, March 01, 2008

JDO versus JPA

Very often someone ask me what to use for persistence in modern JEE applications: JPA or JDO? Well, JPA is born after JDO and seems to be official supported by Sun since it's part of EJB 3 specification.

But my response is always the same: use a JDO implementation if you want a more powerful tool. JDO 2.1 is a superset of JPA 1 standard.

A feature matrix is available here:

1 comment:

Marc said...

Was MacOS better than Windows for a long long time? Yes. Who won: Windows.

I experimented a bit with JDO when it was 1.0. It was very weak then and not useful in real world projects. Perhaps it is now, but the world has moved on and chosen JPA.