Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Notifying clients from the server using RMI  RSS feed

 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have an RMI(failing that ,any other ) mechanism where the RMI server can notify those clients utilising a particular Naming service of an event ?
I know RMI supports distributed garbage collection , what about distributed notification ?
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only way I can think of is possibly wrapping and throwing a RemoteException ! Sounds drastic !
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RMI by itself doesn't do this, but Jini does! Jini has a lookup service (called 'Reggie') that is more flexible than rmiregistry and provides for things like distributed notification. Check it out.
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,Michael. I will.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!