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
> 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; do not leave a copy in WEB-INF/l
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 spe
> 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
answer depends on the vers
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 ob