File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes broadcast a message to all logged in users Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "broadcast a message to all logged in users" Watch "broadcast a message to all logged in users" New topic
Author

broadcast a message to all logged in users

rajesh kumar jhaver
Greenhorn

Joined: Sep 04, 2001
Posts: 9
How can I broadcast a message to all logged in users, when my system goes for maintenance. During Maintenance, my Database server will be down and webserver will be up. I am using IIS as webserver, ServletExec as Servlet Engine and JSP.
Thanks in Advance,
Rajesh Jhaver
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
you cant - HTTP does not support broadcast. You can deploy such a thing as an applet by polling the server for its status and setting the status to show this. alternatively, you can write your application in such a way that it detects the maintenance and imposes a helpful message if the resource is not available


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
Thomas Hubschman
Ranch Hand

Joined: Sep 25, 2002
Posts: 88
Rajesh,
Can you grab their email addresses when they log in? So or your server can send them an email before you shut down.


SCJP '02, SCWCD '02, SCJD '08, SCSNB '09, SCEA '10
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: broadcast a message to all logged in users
 
Similar Threads
how to restrict users
Question Regarding www.amazon.com
How to call client with the help of servlets
User Session Maintenance ....
broadcast a message to all logged in users