In my application I have to show a notification on a particular action taken place?
I have to show logged in user a notification then.
One way to get notifications is to keep polling after certain time interval. that is pull notification. But this causes unnecessary hits to server.
How can I use push notifications from server? I am using Java Servlets and JSP with Tomcat.