This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking a currently running application from a servlet

ahmad namini
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic