Server side push to all sessions

Hi,

I have a ScheduledExecutorService running server side to check a folder for notifications. I like to show in all the users logged in UIs a notifications dialog if they have something int that folder.

I am using VaadinSession.getCurrent().getAttribute(“user”) to get the user, but the problem is that it always return the last user that has logged in and its UI so i can only send notifications to that user.

Is there a way to access to every user logged in UI to show a notification dialog ??

Thanks !

Have a look at:

https://vaadin.com/wiki?p_p_id=36&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=row-1&p_p_col_pos=1&p_p_col_count=3&_36_struts_action=%2Fwiki%2Fview&p_r_p_185834411_nodeName=vaadin.com+wiki&p_r_p_185834411_title=Broadcasting+messages+to+other+users

Thanks Marius, i am going to try the Broadcasting.