-->
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.  [ 1 post ] 
Author Message
 Post subject: multiple webapps depend on same Hibernated business objects
PostPosted: Wed Oct 13, 2004 8:49 pm 
Beginner
Beginner

Joined: Thu Sep 16, 2004 8:14 pm
Posts: 27
I have a group of different webapps that are running in the same instance of JBoss and Tomcat. They all use the same business objects and look at the same database. I'm wondering what tried and true practices there are for deploying a .jar file of Hibernated business objects in such a way that many webapps deployed within the same Tomcat instance can make use of that same jar. What I'm trying to avoid is classloader weirdness that might cause different webapps to see stale views of the database. I'm thinking that if I included the .class files for those business objects in each webapp things would behave like multiple Java applications on different machines accessing a shared database.
Is this something that I even need to watch out for, or is it a non-issue?
Note that these webapps are not on virtual hosts. There may be some need for that in the future. Does that complicate the situation in any way?
Thanks,
-M@


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

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.