This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieving results from "batch" elaboration on a remote server.  RSS feed

Claude Moore
Ranch Hand
Posts: 862
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good morning,

I have a Java client app that via webservices executes remote calls on an application server. Now, I need to execute some tasks that may run for a long time, so that I cannot wait for appserver response. So, I made up a machinery that allows me to execute these tasks in 'background'. Anyway, to know when a remote job is ended, my client at the moment executes in a separate thread a polling to the remote server.

I wonder if there is another way to achieve this, avoiding polling.

Can anyone help me ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!