Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Guide me about JDO

 
pariya shiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
I would like using JDO in my java database related projects. there are a lot of info about it that confused me. if anybody use JDO and guide me from zero level step by step I will be so appreciate.!
 
Campbell Ritchie
Sheriff
Posts: 51405
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our databases forum. Don't know about JDO, but have you seen the JDBC part of the Java™ Tutorials?
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is JDO even on the radar screen any more? I recall that it was a fairly big thing a few years back, but ever since Java EE 5 went with using ORM tools such as Hibernate for JPA, JDO seems to disappeared. Are you sure you want to learn a technology that is pretty much deprecated?
 
pariya shiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply.
What's your suggestion?
hibernate? and what 's the best resource to learn?
 
pariya shiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Moving to our databases forum. Don't know about JDO, but have you seen the JDBC part of the Java™ Tutorials?


Yes I read it before, I don't have any problem with jdbc.
 
pariya shiri
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:Is JDO even on the radar screen any more? I recall that it was a fairly big thing a few years back, but ever since Java EE 5 went with using ORM tools such as Hibernate for JPA, JDO seems to disappeared. Are you sure you want to learn a technology that is pretty much deprecated?


Thanks for reply.
What's your suggestion?
hibernate? and what 's the best resource to learn?
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Being in the JBoss camp, yes I would say that Hibernate is the way to go. Or even better, go with JPA. A good start is http://www.manning.com/bauer2/
 
Edward Winchester
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:Is JDO even on the radar screen any more? I recall that it was a fairly big thing a few years back, but ever since Java EE 5 went with using ORM tools such as Hibernate for JPA, JDO seems to disappeared. Are you sure you want to learn a technology that is pretty much deprecated?


I'm just learning JDO at the moment. My motivation for doing so was because I'd like to be able to deploy on Google App Engine, and at their page about the datastore mechanism they state the emphasis on using JDO.

I had the impression that JDO is a current technology and one that is seeing lots of work on updating it. This page talks about JDO giving datastore independence where JPA doesn't.

I'd really like to know if your assertion about it being pretty much deprecated has some meat on it because I really don't want to waste time learning a technology if the industry's moving away from it.

When you're learning, as I am, it is very difficult to see the wood from the trees.

Thanks,

Ed
 
Edward Winchester
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm kind of answering my own question from my previous post. I did a search for JDO in this forum and can see that JDO isn't as popular as I thought it was. Authors of persistence books relegating JDO to the history chapter and the like!

I found this page and this page useful and understand a little more about why JPA might have emerged (or be emerging) as the more popular option.

I'm seriously considering switching my focus to JPA now. I'd love to have the option (if I ever finish this app!!) of deploying to Google App Engine. They do support JPA but because JPA is linked to relational storage (JDO isn't), and because Google's storage isn't an RDBMS (something called BigTable), the support for JPA isn't as great as JDO (see this page).

Too much choice (hurray!) too many conflicts (sigh!).

Ed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic