tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Prasetya <andre.prase...@gmail.com>
Subject Re: Can different webapps share a context?
Date Mon, 19 May 2008 03:49:53 GMT
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 <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
>>
>>
>>     
>
>   


---------------------------------------------------------------------
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
View raw message