You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <DN...@hibbertgroup.com> on 2006/10/16 12:52:26 UTC

[Friday... ish] RE: Static objects in Struts Application ..

From: craigmcc@gmail.com [mailto:craigmcc@gmail.com] On Behalf Of
> On 10/13/06, Chris Pratt <th...@gmail.com> wrote:
> > Each Web Application within the container is loaded within it's own
> > Context (and ClassLoader) which effectively keeps the static's 
> > separate.
> In that case, the statics are shared across *all* webapps using that 
> library, which is generally a bad thing.

On the plus side, it makes consultants look really good when they come
in to a situation, wave their hands, and suddenly all their applications
(which were failing intermittently under load) magically began working.

Pointing out that both their servlets and Actions had non-synchronized
instance data was also quite entertaining.
 
Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org