• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Performance for Hibernate vs JPA(Hibernate) Jboss Help needed

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic