Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI server send message to client

 
Tay Thotheolh
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic