Thanks, I didn't have that url handy. It's just a little tricky because the webapp classloaders function differently than other java classloaders.

BAL

From: "Steve Raeburn" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Singletons in Tomcat
Date: Thu, 5 Jun 2003 12:39:05 -0700

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Steve

> -----Original Message-----
> From: Brian Lee [mailto:[EMAIL PROTECTED]
> Sent: June 5, 2003 10:06 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Singletons in Tomcat
>
>
> It is not unique to the session. It is unique to the classloader which
> usually means that each web app will have its own singleton.
>
> Usually, you'll just end up with one per server.
>
> BAL
>
> >From: "Brian Kidney" <[EMAIL PROTECTED]>
> >Reply-To: <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: Singletons in Tomcat
> >Date: Thu, 5 Jun 2003 14:26:19 -0230
> >
> >
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >If I have a class in my application which is a singleton, is
> there only one
> >object per server (Tomcat in my case), or is it unique to the
> session (ie.
> >each user gets a different instance)?
> >
> >Brian
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: PGP 8.0
> >
> >iQA/AwUBPt92MuLP0vXx30WgEQKtFQCfX4gkSYSwqx9+Zij4IfQU9DxA6L4An2gY
> >hUqwLgvXo/4W5scinkxmIF7j
> >=Osto
> >-----END PGP SIGNATURE-----
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to