If you need only one instance, how about some sort of static factory that creates one instance of your bean JVM-wide?
----- Original Message ----- From: "Power-Netz (Schwarz)" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 10:56 AM Subject: AW: TC and applicationwide beans > > > So, you can use the same class definition of a bean in two > > separate webapps > > if the class definition is in $TOMCAT_HOME/lib/apps... > > (or alternatively, in the WEB-INF/lib directories of your two webapps, but > > that is just wasted space). The webapps will create two separate instances > > of your bean. > > I feared that :-( > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
