-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate v/s EJB - Performance
PostPosted: Mon Jan 03, 2005 7:48 pm 
Newbie

Joined: Mon Jan 03, 2005 7:38 pm
Posts: 1
I am currently looking at an application that uses a large number of BMP for data persistence. The stateless session facade looks like a structural code and workflow methods looks like C. On top of this we are experiencing a certain degree of performance issue due to the need to persist all the data (especially CLOB data type)

I am looking at Hibernate as an elegant alternative to the current architecture where I could persist POJO directly (Assuming I dont run into myriad of db mapping issues).

However from performance perspective I was wondering would hibernate offer any significant performance improvement over BMP for a most Create/Update intensive application.

I google'd and also looked at this forum and couldnt find any convincing answers to my pointed question.

Any response addressing this question would be great.

Thanks, ~vk


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 04, 2005 12:47 am 
Contributor
Contributor

Joined: Thu Nov 06, 2003 9:49 pm
Posts: 104
Location: New York, NY
I don't think anyone is going to claim that Hibernate is always faster than BMP without knowing anything about the application.

That said, I'm working with an application that is has mosty SSBs with Hibernate (a few entities as well, but they are all read only). With regards to performance, I found Hibernate easier to tune for performance (cacheing, etc.) than the straight JDBC BMP that I had used before.

Also, using Hibernate also allows a design that has coarse-grained entity EJBs (recommended) for the clients, while simultaneously allowing fine grained POJOs for the SSB implementations. This avoids the 'too many entities in a transaction' anti-pattern that many teams face when first implementing an EJB-based application.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.