my dog learned polymorphism*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI server send message to client