I don't know of anything that requires you to embed Tomcat in your app. They should be able to communicate just find as separate entities. You could also maybe wrapper some OS specific IPC with JNI. We use RMI both internal to a machine and externally to other machines just fine and you don't have to have anything embedded. Your servlet can communicate to another process/machine with no change in code except logic of where to connect.
Robert S. Harper Information Access Technology, Inc. -----Original Message----- From: Igor Borovkov [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 12:20 PM To: users@tomcat.apache.org 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] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]