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,
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.
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)
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:
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.