May be you would like to try polling a servlet using HttpRequest class for your timer calls.
Lets know if you succeed. cheers, On Sep 23, 4:09 pm, "Amit Dhingra" <[EMAIL PROTECTED]> wrote: > Hi, > Event I am a newbie in java and GWt, though how about partitioning your long > job, as in... > e.g. For a http call which needs to access names say 100,000 in number. I > might actually partition this call in say 26 calls with each call querying > names starting with each of the 26 alphabets... and on the callback of the > first function I might update the user and make the second call and so on. > Actually do a chaining... :) > > Thats just a guess... may be that I might be totally wrong on this... :) > > Cheers, > Amit Dhingra > > > > On Tue, Sep 23, 2008 at 3:19 PM, Palietta <[EMAIL PROTECTED]> wrote: > > > 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 > > -- > Warm Regards, > Amit Dhingra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---