Vaadin portlet auto-refresh?


I’m implementing a Vaadin portlet to be used in Liferay. The portlet needs to monitor some services and display the status of those services. It needs to refresh its view every X seconds (where X is user configurable from inside the portlet UI.)

Is there a way to have Vaadin add some javascript timer on the client side that trigger some events on the application/server side?


Best regards,


Use the
for Vaadin 6 and the
built-in polling mechanism
server push
a UI Extension
for Vaadin 7.

Just to note that server push is still not available for portals but is something we’d like to get to work soon. Thus, the built-in refresh mechanism is currently the best way to go with Vaadin 7.

Thanks for the info! (We are using Vaadin 6 at the moment.)