tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandar Matijaca" <amatij...@gmail.com>
Subject Re: Can different webapps share a context?
Date Mon, 19 May 2008 02:57:17 GMT
I've had to do this a few times in my life - never easy...  One way is to
use
an in-memory database like hsqldb - ( http://hsqldb.org/ ) - and what you do
here is one context sticks an object with a key into the database, and the
other
context picks it up from the hsqldb - both "listen" in on a socket...  I
have
used this technique successfully before -one extra thing I did was exchange
keys between the two instances as a cookie...  You access the in-memory
database via JDBC...

Good luck, Alex.


On Sun, May 18, 2008 at 10:48 PM, Dola Woolfe <dolachin@yahoo.com> wrote:

> Hi,
>
> I guess the subject asks the question...
>
> I have two different webapps and I want them to be
> able to share objects. Can that be done? I guess it
> sounds like an FAQ but I can't find the answer.
>
> Thanks!
>
> Aaron
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message