aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Invoking a currently running application from a servlet
 
Similar Threads
Connect to Jboss server from EclipseRCP
Ask for browser written in Java
Jabber and SSL?
JCA - Connection Pooling
Http Connection