wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Performance for Hibernate vs JPA(Hibernate) Jboss Help needed 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 "Performance for Hibernate vs JPA(Hibernate) Jboss Help needed" Watch "Performance for Hibernate vs JPA(Hibernate) Jboss Help needed" New topic
Author

Performance for Hibernate vs JPA(Hibernate) Jboss Help needed

Karne Reddy
Ranch Hand

Joined: May 28, 2006
Posts: 35
Hi,

As part of our new project, am doing analysis on performance of ORM tools. I compared two
1 . JPA(Hibernate) in JBOSS 5
2. only Hibernate.

I had inserted some records using the same and found that JPA(Hibernate) is performing well(taking less time) than Hibernate.


My Assumption on JPA(Hibernate) in JBOSS 5 :
Jboss 5 JPA(Hibernate) is nothing but JPA API is implemented to use Hibernate in background. which is an additional Layer.

But how come JPA(Hibernate) with additional layer is performing well than only Hibernate...

Please help me out..

Ashok
SCJP1.4,SCWCD 1.4, SCBCD5, XML Cer - Test 142

asdfa
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Lots of factors. What JVM tuning have you done on your stand-alone to match what JBoss AS has?

There is no added layers, Hibernate is an implementation, so both are running Hibernate code, so they are identical in that regard. So that just leaves the container on the outside that is different. JVM tuning is my first guess.

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: Performance for Hibernate vs JPA(Hibernate) Jboss Help needed
 
Similar Threads
Hibernate design pattern problem
EJB3 JPA implementation
JSF: How to establish Database Connection for entire application?
DOA as session bean ?
Why is JPA used with in Combination with ORM like Hibernate