-->
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 in a clustered environment
PostPosted: Thu Jul 21, 2005 3:28 pm 
Newbie

Joined: Thu Jun 09, 2005 6:41 am
Posts: 10
Hello,

We have sucessfully integrated hibernate into our project. Now the expectation is for hibernate to work in a clustered environment.

Being a early bird in enterprise java development using hibernate, there were a few questions that ran in my mind on the issues / questions that i might have to relook into:

1: In each clustered environment, it may not make sense to create a new connection pool everytime, as this will lead to degradation of database performance.

In such a case, is there a way by which we can create a clustered connection pool of say 25 connections, for all instances of hibernate running to access, instead of 4 clusters creating 25 connections each which will effectively mean 100 connections to the database?

Would this mean I need to look at something like a JNDI based connection pooling? Any suggestions and guidance would be of great help.

2: Can anyone share their experiences on how has 2nd level caching that supports clustering like JBossCache / EHCache etc worked? Are there anything that I need to consider in addition to the hibernate documentation.

Anything other to what I have mentioned needs to be considered?

Thanks in advance
Gyanesh


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 22, 2005 8:53 am 
Newbie

Joined: Thu Jun 09, 2005 6:41 am
Posts: 10
Can someone please guide us with the last question? It would be much appriciated.

Gyanesh & Rahul


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.