Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Claude Moore
Ranch Hand
Posts: 814
7
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