----- Original Message -----
From: Theodore Tegos <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 09, 1999 1:16 AM
Subject: Applications & Servlets


> Hi,
>     I have a Java application which will run on the background as a daemon
> and perform some kind of operation. I also have a servlet and I want the
> information from the application to be available to it. Do you have any
> suggestions about the way that the application and the servlet could
> communicate? I know that two servlets can communicate by using their
> "servlet context" but what about an application and a servlet?. Since the
> application and the servlet will run on the same JVM, the communication
> should preferably be done directly by using memory. This means that URL
> connections or sockets are not a good solution and neither is the use of
> files to exchange the information.  Is there any other way that the
> communication could be established efficiently?
> Thanks in advance,
>
> Theodore.
Hi Theodore,

try pipes, they use memory as the communications medium. Do you mean the
same JVM
or the same JVM instance, there is a big difference.

Hope that helps

Andy Bailey

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to