• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Bartender
Posts: 1357
39
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic