Another way is to setup a webapps that will act as a broker, communications via web service, if you use spring framework, you can use its remoting feature, or you can use axis/xfire for its web service.

-andre-

Aleksandar Matijaca wrote:
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to