Think the following scenario :

1 - a servlet engine servlets spy component executes an active polling to see
if your_servlet.class has been updated into your web application deployment
directory or your .war.
2 - if so, this spy emits an event to trigger a new class loading operation to
substitute the new version to the old.

But I have another question about the normal behavior of the automatic
reloading functionality :
If my servlet current instances deals with a session even if not active
(executing its service method) when the update occurs, what happens?
Is there a mean to preserve some data like session data from old to new
instances?
Is there a mean to deactivate the automatic reloading programmtically, during
bounded periods like sessions?


Pol Millan wrote:

> Guys,
>
> I'm using JWS 113 on NT.
>
> How is it possible that a servlet doesn't reload automatically if I don't
> have a classpath at all?
>
> I know that if the class is on the classpath, then it doesn't get reloaded
> automatically, but if I don't even have a classpath at all how come this is
> happenning???
>
> Thanks to all.
>
> Pol Millan
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
begin:vcard
n:Lepoivre;Franck
tel;cell:06 82 06 85 29
tel;home:04 78 94 19 46
tel;work:Consultant
x-mozilla-html:TRUE
org:CosmosBay;Engineering
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consultant
fn:Franck Lepoivre
end:vcard

Reply via email to