> From: Aristedes Maniatis [mailto:amania...@apache.org] 
> Subject: Re: parallel deployment: multiple applications responding

> What happens if our application defines a static class or 
> other resource?

Not sure what you mean by "static class", unless you're referring to an inner 
class.  Regardless, each parallel deployment uses a separate classloader, so 
the webapp instances cannot interfere with each other.

However, if you've placed classes in a shared library (e.g., Tomcat's lib 
directory), anything in there will be shared by all webapps.  You must be very, 
very careful when utilizing shared classes, since that can easily lead to 
unexpected data leakage between webapps (not to mention often making it 
impossible to undeploy them).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to