Sync Webservice call that MUST wait for Distributed System to process

D

David Elliott

I have a distributed system that processes documents. There currently is an Async
Webservice in place and this works fine.

My customer is requesting a Sync Webservice call. I am trying to determine the best
way to implement this.

I thought I would have the Sync call to enter a sleep state and upon waking check a
ArrayList that was populated at the completion of the processing. If there is a doc then
return it, otherwise sleep.

Any thought would greatly be appreciated.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top