tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Echerer <>
Subject Re: Servlet inter-communication
Date Sat, 06 May 2006 06:24:56 GMT
Samuli Elomaa wrote:
> Hi,
> Is there any otherway for two servlets in same tomcat to communicate 
> together except by http requests? Eg. could two servlets use somekind 
> of shared memory? or send signals to each other?


whatever others suggested, just use the Servlet Spec 2.3+ standard:

The webapp context scoped shared memory is here:,%20java.lang.Object)

The event listener is here:

Singletons are evil, even more devilish for webapps. ;-)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message