• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New to Hibernate

 
Abhi Agar
Greenhorn
Posts: 26
Java MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

Our team is working on a web-app, and it's our first time. We have agreed on using hibernate mapping framework at the back-end along with DB2.

We want a quick killer guide to hibernate, if there is any. We can't throw our time at reading the entire documentation, or books like "Java persistence with Hibernate", since deadline is closing in. But missing on essential points can be potentially critical. We are done with our first hibernate mapping code, but after that it seems as if it is an entire ocean to assimilate.

Can you please guide us. Is reading the entire book a necessity for using hibernate? Or is there an another way.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The docs are fairly brief, I'd read them. Trying to work with a technology without at least reading the basics in the docs always causes more effort than it saves. You should be able to skim through the docs and know up a basic hello world style application ins a couple of hours. I'd recommend going for a stand alone app. to learn with before looking at a web application (just because there is less going on).

If this is going to end up as production code, and if you have never used an ORM before, I would recommend a book. Basic Hibernate is fairly easy, but deploying your application without tuning how you use Hibernate, or understanding the implications of doing something one way as opposed to another means your code may well work but in a really inefficient way.
 
Ran Pleasant
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm with Paul on this. The best way to meet that deadline is to get the "Java persistence with Hibernate" book and spending a day or two (plus evenings) reading it and playing with Hibernate in a small non-web/non-gui application. The day or two spent actually learning Hibernate will more than make up for itself as you continue your actual development. You have to know how to use the tool in order to use the tool. Use Hibernate right and persistence is easy, use it wrong you will pay for it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic