Server generated UI changes

Is there a way that the server can push UI changes to the client?

I have a test set up where a Thread fires every few seconds and changes the text in a textfield. The problem is that it only gets updated when someother client-generated event gets fired. Is there some what around this, perhaps some sort of browser timer that fires off events at a specific interval through the client?


The easiest way out is to use polling by adding a progressbar component to the screen.

If you do not want to have progressbar on your application, you can also either initiate polling requests from your widgets directly or use Refresher component.

Third option would be to integrate Kaazing or some other server push mechanism. It should be doable, but would probably require quite a bit of knowledge about Vaadin communication mechanism (terminal adapter implementation).