[plt-scheme] dynamically reload servlet on file change?

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Tue Mar 27 16:54:21 EDT 2007

 > On 3/27/07, Yin-So Chen <yinso.chen at gmail.com> wrote:

 >> Can servlets be reloaded automatically when the underlying servlet
 >> file changes?

Jay McCarthy skrev:
> This is not done in the server. (However, you can goto 
> /conf/refresh-servlets.)
> 
> This is not done for a design reason: Suppose some servlet has
> persistent data, for example a database or a log. If the servlet is
> reloaded, then the persistent data is reloaded as well.

During development of simple servlets automatic reload of the
servlet would be incredibly practical. (Such as the case where
all persistent data is stored in, say, SQLite)

-- 
Jens Axel Søgaard









Posted on the users mailing list.