This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes article comparing Java ORM frameworks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "article comparing Java ORM frameworks" Watch "article comparing Java ORM frameworks" New topic
Author

article comparing Java ORM frameworks

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41149
    
  45
java.net just published an article comparing some of the major contenders in the Java ORM space (EJB, JPA, Hibernate, TopLink): http://today.java.net/lpt/a/464


Ping & DNS - my free Android networking tools app
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Unfortunately, I think that article does more harm, and introduces more confusion to newbies, because it looks like the 4 listed are seperate products and do not overlap. That is a problem, because both Toplink and Hibernate implement the JPA spec. Many people think that if they choose JPA, they can't use Toplink or Hibernate, which is incorrect.

So I saw this under the Hibernate sections
"You need container-provided services, such as those provided by EJB, in which case your choices are pretty much limited to EJB."

Well, if you are using Hibernate's version that also implements the JPA spec, and run it inside a App Server, you get all the container-provided services. Even before, when you ran beginTransaction in Hibernate's sesssion api, Hibernate was smart enough to see if JTA was there and join the JTA Transaction of the EJB Container.

So, I would be more concerned with the misconceptions that that article presnets, and would much rather people know that there is a lot of flexibility in what you can choose to use.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: article comparing Java ORM frameworks
 
Similar Threads
Rendering image in xml with Flying saucer
Web services in Java
Throw a checked or an unchecked exception from API?
JAI with applet problem
JAAS programatically