Brian Noyes wrote:
>
> Anyone got a recommendation for the best approach to invoke a method on
> another running Java program from inside a servlet that receives SOAP
> messages on Apache?
>
> The scenario is that we have Tomcat running, and invoke a soap method in our
> servlet. In response to that method call, we want to call a method on
> another Java program that is running on the server (implementing an event
> channel back to the client).
>
> What is the best way to call out from a servlet into another running Java
> program on the same machine? RMI?
>
> Thanks,
> Brian
RMI can be very simple and fast, I would certainly recommend it.
--
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2