tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolverine my <wolverine...@gmail.com>
Subject Shared object between Tomcat and external program?
Date Fri, 02 Sep 2005 22:46:45 GMT
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


Mime
View raw message