tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Shared object between Tomcat and external program?
Date Sat, 03 Sep 2005 15:39:32 GMT
Look at JMS. Should do exactly what you want.

Mark

wolverine my wrote:
> I'm running Tomcat 5.5.
> I want to create a servlet to accept a HTTP request. The servlet
> creates an object based on the request parameters and forward the
> object (using Queue) to another standalone Java process started from
> the command line, a background process.
> 
> In this case, the same Queue object should be accessible both in the
> servlet and in the standalone Java process:
> - the servlet adds object into the Queue and,
> - the standalone Java process retrieve the object from the same Queue
> 
> How can we do this?
> 
> Is there a way the servlet to lookup an Queue object created by the
> standalone Java program or vise versa?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message