Re: Sharing an object between two webapps

2007-11-26 Thread Kaspar Fischer
On 23.11.2007, at 17:43, Caldarale, Charles R wrote: From: Kaspar Fischer [mailto:[EMAIL PROTECTED] Subject: Re: Sharing an object between two webapps The class SharedObjectHolder from my previous post lies inside the JAR webapps/A/WEB-INF/lib/SharedObjectHolder.jar. Move it to shared/lib

Sharing an object between two webapps

2007-11-23 Thread Kaspar Fischer
Hi everybody, I need to share an object between two webapps A and B. How can I accomplish this? My first webapp, A, has a class SharedObjectHolder with a static public member: public class SharedObjectHolder { public static Object objectToShare; public void setObjectToShare(Object

Re: Sharing an object between two webapps

2007-11-23 Thread Kaspar Fischer
On 23.11.2007, at 17:17, Caldarale, Charles R wrote: From: Kaspar Fischer [mailto:[EMAIL PROTECTED] Subject: Sharing an object between two webapps I guess this is related to classloaders, but do not know how to proceed. You are correct in that it's related to classloaders, but the specific