This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

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

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..

SCJP1.4,SCWCD 1.4, SCBCD5, XML Cer - Test 142
Posts: 17346
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.

    Bookmark Topic Watch Topic
  • New Topic