Friday, January 6, 2012

Best way to "push" data to a page widget

Hello all,

I'm still new to GWT and I don't know all of it's capabilities.  I've googled for what I think I want to do, but I'm not sure if I've used the correct terms, so I've come up almost fruitless on any searches; perhaps someone can point me in the correct direction.

I have a relatively simple GWT web app that displays information in a page successfully.  I also have a Quartz based job that runs at a scheduled time to update some data in the background.  My question is, how can I tell the server to to update the page when this quartz job starts and ends so users of the app know that a data refresh is running?  If someone is viewing the page, I'd like to be able to dynamically display a HTML widget that shows an "throbber" image when the refresh is running, but dynamically make it go away when the refresh job completes so the end user gets an almost real-time indicator without having to reload the page.  I believe I need something along the lines of the event bus, but I'm missing how to implement the dynamic client side.  I know I have to simply be missing something, so apologies if this may have been addressed several times before; again, I'm not sure exactly what terms to search for.

Anyone have any suggestions?

Thanks in advance!

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment