wood burning stoves 2.0*
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
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: 42634
    
  65
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: 17259
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: article comparing Java ORM frameworks