File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance for Hibernate vs JPA(Hibernate) Jboss Help needed

 
Karne Reddy
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic