I am running a Jboss Application Server that is using the Vaadin 7.0 Plugin for Eclipse. My code checks for these alarms on a 10 second timer, and will issue the notification. If two people are actively on the same page, only 1 user receives all the notifications, but everything else continues to run. Below is my code.
String warnHeader = "Alarm";
String warnMessage = "This is the alarm message";
Notification warn = new Notification(warnHeader, warnMessage);
warn.setDelayMsec(-1);
warn.show(Page.getCurrent());
Is there anything that will ensure that each user who accesses the page receives their own notification?