File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Invoking a currently running application from a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Invoking a currently running application from a servlet" Watch "Invoking a currently running application from a servlet" New topic
Author

Invoking a currently running application from a servlet

ahmad namini
Ranch Hand

Joined: Aug 29, 2002
Posts: 52
The specs of my app specify that an application which is conversing with a dedicated connection is running. This app lives in the JVM and is constantly bridging information from, in my case, Jabber to a database. However, there may be times when the application can be invoked via a servlet.

The application has ten threads whose mission is to write back to Jabber, and one thread which listens messages being sent by Jabber. Is it possible for a servlet to invoke a method of a class which is currently being run. All synchronization issues will handled correctly.


-Ahmad<br />Sun Certified Java Developer (SCJD)<br />Sun Certified Java Programmer (SCJP)<p>"You got to be careful if you don't know where you're going, because you might not get there." -Yogi Berra
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoking a currently running application from a servlet
 
Similar Threads
Http Connection
Connect to Jboss server from EclipseRCP
JCA - Connection Pooling
Ask for browser written in Java
Jabber and SSL?