• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate or JDO?

 
Ranch Hand
Posts: 1011
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Hibernate or JDO, which is better?
2) When to use Hibernate ?
3) When to use JDO?
4) Is it possible Hibernate can be adopted as a Java standard like JDO was?

Thanks!
 
Ranch Hand
Posts: 782
Python Chrome Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
4) In my opinion, it really doesn't matter whether Hibernate becomes a standard. The important thing is that it works and is an option among the variety of persistence framework out there. And the LGPL license is flexible.
It might be prudent to create a layer that minimizes dependencies on a particular persistence product; so that your app is portable. XDoclet can do this very well.
Pho
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

1) Hibernate or JDO, which is better?


Well, do you care more about powerful features or maximum portability?
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could argue that Hibernate is the standard in real terms, if you accept that a standard is that which most people use. JDO may be Sun's prescribed way of doing things but Hibernate is much more mature, better supported and much more widely used. Since its inclusion into the JBoss group too its become more credible. Go with what works best - remember that Entity Beans, who's failings are very probably the reason why JDO and Hibernate are necessary, is a Sun standard too.
 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
- Hibernate is a product and JDO is a specification
- Hibernate is a VERY mature product
- Hibernate is open source.
- Hibernate is supported by JBoss Group.
- Hibernate is well accepted by the community.
- JDO is not so much mature in the O/R field.
- JDO has mature and not so much mature implementations in the O/R field.
- JDO is supported by many companies, SAP, Sun, bla bla bla.
- JDO is at some level portable to any data store.
- JDO has many open source O/R implementations.
- JDO has ODBMS, File and XML data store implementations.
It's probably that hibernate and Oracle Toplink support JDO in future, so working with JDO today will make easier to migrate at that time.
[ March 20, 2004: Message edited by: Erik Bengtson ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic