Hi all,

I have a GWT application which uses a remote service that does some
complex, and potentially long work. However, I don't want to hold the
user unaware of the status of their request for too long. So I would
like a way for the client app to receive frequent information on the
service status, which would be posted to the UI in real time.

I've unsuccessfully tried the following way:

The client makes a call to the remote service, which starts doing its
job.
The service itself, in turn, modifies some state variable during the
course of its computation.
So I created a client-side Timer which, every second, polls another
remote service that simply returns this state variable. This timer is
started right before the main service is called, and is halted after
the service returns.

Being these calls asynchronous, this method didn't work. All scheduled
Timer calls returned after the main service altogether.

I know it might be a dumb question, but it would really be helpful for
me to be able to provide the user with continued feedback on the state
of the service they called.

Thank You
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to