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

Hibernate Made Easy

 
Rick Buitrago
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to the author:

I would like to ask for a brief parallel between Oracle's TopLink and Hibernate as persistence engines. I have been working with TopLink for a couple of years now, since working with Oracle's been part of policies of our company, but these days I've been assigned to research other alternatives, including Hibernate. Thanks in advance for your help,
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I'm going to have to plead ignorance on Oracle's TopLink. I've been focussed on Hibernate and EJB3 lately, and haven't even downloaded Toplink for a preview.

Having said that, I'm really excited by the latest aquisition by Oracle of WebLogic. As a WebSphere guy, I know WebLogic's lack of a back end always really hurt it againse WebSphere and DB2. It'll be interesting to see how well these two powerhouses, WebLogic and Oracle, come together.

I'll have to leave the TopLink comparison to some of the Oracle people on this board that are more knowledgeable, and better looking, than me.

-Cameron McKenzie
 
Padmarag Lokhande
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cameroon,
Is your book only about Hibernate or does it contain material related to Domain Analysis/Modelling ? acknowledging that Domain Models is a vast subject in it's own.
The outline of your book looks exciting.
Is the book available in India? (preferably indian edition)
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Object analysis and modeling is definitely an important topic, and it is a theme that runs throughout the book.

At the end of the book, I use this object model to develop a little web based applicaition and DAOs. The model is simple, but it represents a one-to-one, one-to-many, many-to-one and many-to-many relationship, all in one domain, so it hits on all of the fundamental mapping aspects.



This is an image from some of the unedited content that you can find on my website:

Hibernate3 Tutorials and Examples of Using JPA Annotations

The arrows were put in my IRAD. The book has a proper diagram showing the proper UML associations.



Clearly, this isn't nearly as complicated as the domain model used in the Caveat Emptor application that is detailed in Java Persistence with Hibernate, but then again, my goal throught the book it to try and keep things relatively straight forward to understand, and really concentrate on the learning. Once a developer gets the basics down pat, diving into and designing more complicated object models becomes a lead pipe cinch.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic