-->
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 and Clustering tomcat
PostPosted: Wed Feb 02, 2005 9:04 pm 
Newbie

Joined: Wed Jan 05, 2005 4:59 pm
Posts: 15
Hibernate version: 2.1.7c

I donot have much experience with clustering and hibernate together. And our deployment guy is complaining that it might not work with clustering.

I have tried to follow the book hibernate in action. While reading the book Hibernate in Action, it mentions that we can have as many actual instances of SessionFactory deployed as we like, if we are not using second level cache. This approach is cluster-safe.

Do we need to worry about clustering:

Our application uses hibernate for only to do insert-updates and does not need any cache. Running an instance of SessionFactory per VM/tomcat instance poses any problem?

In our case we do not have scenarios where the transaction spreads across multiple pages, any database transaction is located in one user action itself.

Currently the code looks much cleaner with hibernate and I donot want to change it.

Any input will be much appreciated.
TIA

girirx


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 03, 2005 9:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Sounds fine to me.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 08, 2005 3:22 pm 
Newbie

Joined: Wed Jan 05, 2005 4:59 pm
Posts: 15
what a relief!

Thanks again,
girirx


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.