Hibernate vs JPA vs JDO - pros and cons of each?

Posted by matt b on Stack Overflow See other posts from Stack Overflow or by matt b
Published on 2009-02-09T22:03:09Z Indexed on 2010/05/13 7:44 UTC
Read the original article Hit count: 442

Filed under:
|
|
|
|

I'm familiar with ORM as a concept, and I've even used nHibernate several years ago for a .NET project; however, I haven't kept up with the topic of ORM in Java and haven't had a chance to use any of these tools.

But, now I may have the chance to begin to use some ORM tools for one of our applications, in an attempt to move away from a series of legacy web services.

I'm having a hard time telling the difference betweeen the JPA spec, what you get with the Hibernate library itself, and what JDO has to offer.

So, I understand that this question is a bit open-ended, but I was hoping to get some opinions on:

  • What are the pros and cons of each?
  • Which would you suggest for a new project?
  • Are there certain conditions when it would make sense to use one framework vs the other?

© Stack Overflow or respective owner

Related posts about java

Related posts about orm