Howdy,

>    I would like to know whether Tomcat behaves the same when Tomcat is
>Restarted and a context reload ?.

No.  Tomcat restart restarts all the webapps, context reloads only
affects one specific webapp.  Other minor details are different as well,
e.g. creation of System.out/System.err sink, etc.

>Another question is why Tomcat  is
>reloading all servlets when a single servlet is changed.

Same classloader.

In general, the container is not required to keep servlets around at all
until they are requested.  It's valid (though not very practical) for
the container to destroy() your servlet after each call to it, and
init() a new one when another call comes in.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to