Reputation: 33571
I need to write a progress bar that monitors the progress of generating some very large PDF files. We know how to very accurately watch the progress of generating the PDF file on the server side but cannot figure out a good way to monitor the status from the browser.
A few suggestions..
Does anybody have suggestions for how to design a robust progress bar?
Any suggestions for how to handle this? As far as the UI is concerned I will likely write my own widget as the gwt-incubator project's status bar is deprecated ( along with the whole project ).
Upvotes: 1
Views: 814
Reputation: 6196
We have the similar scenario. We run multiple jobs on the server and during the execution we poll the server with the job id. When the job is done we update the GUI status to done. We used RequestFactory since we store the job status in the database. It works perfect.
Upvotes: 1