Hi ,
I have a web application ( DBBeans --Servlet --JSP) .
I need to incorporate a functionality such that:
if the admin needs to send out a message to the app-logged in users , for example : "Application will shutdown in 10 mins. Please save your work and logout of the app: Message8" and can control the number of times this message is shown to a any users, how can I do that in the app without using a full blown messaging service (JMS, MQSeries) .
For now, I have a property file where I can put a
string (example:Message8) which the app will pick up when it loads any of the
jsp and show it in an alert box, but I have no way to track/control as to how many times a user should see the message !
Possibly I can modify the code in the controller (
servlet) and keep track in a session object but thats still possibly an old way of doing things.
I was thinking of some module like log4j that I could plug into the app for the messaging .
Any suggestion ?
Again , many thanks .