>>> "Christopher K. St. John" <[EMAIL PROTECTED]> 14-Oct-00 6:29:40 AM
>>>
>> I am a bit confused over how can there be more than one copy
>> of the class static members in one JVM. OK. I know of one way
>> and that is when different classloaders are used for loading the
>> same class. But is is not that the servlet containers use the same
>> classloader to load classes/servlets in a context. So how can we
>> have multiple copies of the class static members.
>Big ol' caveat: I'm not authoritative on this, ask somebody on the
>spec committee if you've really got to know with certainty.
Contexts should have their own instance of a class loader for this
precise reason.
There is some effort going into working out how to load container
wide classes (ie: classes that all contexts need). That will obviously
require one class loader to be shared across all contexts.
That doesn't affect the need for a CL per context for CL specific
stuff though.
Nic
___________________________________________________________________________
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