Henning,

An ounce of empiricism would do wonders ;-)

Simple rule: your servlets should be located in your servlet zone. Each time
a servlet is called  (referenced, asked for ?) the servlet classloader
checks the .class file to see if it has changed. If it has it is reloaded.

Classes accessible through the regular classpath aren't under control of the
servlet classloader. There is no check for a changed file when one of these
classes is referenced.

These regularly loaded classes don't suffer the performance hit of a file
mod date access. (it's a good thing too)

Jason Hunter's book "Java Servlet Programming" - O'Reilly describes this
behaviour as do the JRun docs and I am sure other sources.

Brett Knights



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to