Servlet to Application communication
2 posts in topic
Flat View  Flat View

Posted By:   Michael_Dwyer
Posted On:   Tuesday, March 23, 2004 01:53 PM

How is it possible for a servlet to invoke methods or trigger events in a Java standalone application? Assume complete trust between the server and client machines on a corporate Intranet with all communication occuring behind a shared firewall.

I do not mean by using RMI as the objective is not for the servlet to obtain bytecode from the application, but rather for the servlet to trigger an event in the application which could otherwise be invoked directly by the user running the app.

I also specifically do not intend for the servlet to invoke functionality in an applet. However, if an applet can serve as an intermediary, that would be acceptable.

Re: Servlet to Application communication

Posted By:   joe_user  
Posted On:   Sunday, May 23, 2004 04:31 AM

Just open a port at either end and have the application's service thread listen on it. Basically, a 2 liner. This is RMI without the overhead ;-)

Re: Servlet to Application communication

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, March 24, 2004 06:26 AM

You could touch a trigger file, perhaps

About | Sitemap | Contact