wood burning stoves*
The moose likes Distributed Java and the fly likes RMI server send message to client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI server send message to client" Watch "RMI server send message to client" New topic
Author

RMI server send message to client

Tay Thotheolh
Ranch Hand

Joined: Aug 07, 2008
Posts: 84
Hi. Is it possible for the RMI server to send a message to client ? Most of the time, it's the client that request object from the server but is it possible for the server to independently send a message to the client ?

I would like to add a function in my program which uses RMI, where the server admin could send a message or broadcast a message to all clients (e.g. reboot server or repair work) so that the clients would know what is going on before the admin reboots the server.
 
Consider Paul's rocket mass heater.
 
subject: RMI server send message to client