You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carlos Pereira <kh...@portugalmail.pt> on 2003/10/14 19:04:12 UTC

shared/classes folder

 I'm developing a set of applications which need to exchange objects and are to be deployed in different servers. During development, i use just one server, and put all the common packages under the <tomcat>/shared/classes folder.
 All applications have their own memory space, so if i use an object (like a static class) in one application, it is different from the same class in another application. But, for classes under <tomcat>/shared/classes, the objects are the same! That is, classes are loaded into the same memory space.
 Is this behavior correct? It doesn't seem logical...
 If so, is there any way i can prevent this?

 Best regards,
 Carlos Pereira

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org