Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Hibernate Made Easy

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic