Igor- when you say 'tomcat' should be embedded ..does this imply that <one+> of these tomcat constructs should be embedded? Servlet? Manager? MBean? Internals?
Yes RMI uses RPC under the covers while providing complete and seamless (Complex) Object transmissions as well as fully supporting multi-threaded objects for your <enterrpise wide> web application. In other words you're on the right track..for more details take a look at http://java.sun.com/javase/technologies/core/basic/rmi/whitepaper/index.jsp Martin -- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents ----- Original Message ----- From: "Igor Borovkov" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Friday, November 03, 2006 2:20 PM Subject: Communication with a standalone java program from servlets (embedded tomcat). RMI? Hello! I have a standalone java program permanently running on a server. I need to communicate with that java program from servlets. Could you suggest me a simplest solution how to do that. I think I should use RMI. But there is one requirement – apache tomcat should be embedded to that program. Will this requirement bring difficulties or not? Thanks in advance. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]