-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate in Cluster environment
PostPosted: Thu Oct 07, 2004 10:15 pm 
Newbie

Joined: Thu Oct 07, 2004 8:58 pm
Posts: 1
We are evaluating Hibernate to use it in our J2EE environment.

Our application should be capable of running in any J2EE compliant application server and against any RDBMS in the market (atleast the ones which hibernate claims to support).

My current understanding is (apart from other advantages of Hibernate) the main difference is by default entity beans support clustering and hibernate does not. Please let me know whether my understanding is correct.

Please let me know whether Hibernate supports and works well in the clustering environment of weblogic, websphere, jboss etc.

Thanks for your response,
goHibernate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 08, 2004 1:52 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
you can do clustering with hibernate.

We use loadbalancing with sticky session session, but there are ways to use failover too. Actually it's not really an hibernate problem, you have to be sure your httpSession is serialisable...

About second level cache, JBossTreeCache is able to do the job in a clustered environment.

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 08, 2004 1:58 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
I think there is a lot of nonsense written about the supposed "clusterability" of entity beans.

Really, clusterability is a feature of the remote invokation layer, ie. of the session bean facade, or servlet. Not of the entity bean, which is in practice called locally.

And most existing EJB containers have at most a very crude second-level clustered cache implementation - Hibernate is much more sophisticated in this respect.

What do you think your CMp container is doing for you in terms of clustering?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.