File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes RMI Small Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "RMI Small Problem" Watch "RMI Small Problem" New topic
Author

RMI Small Problem

Shyam Prasad Murarka
Ranch Hand

Joined: May 02, 2005
Posts: 209
Dear Readers,
I know how to call the methods of a RMI Server from a RMI Client but suppose I want the RMI Server to call methods of the RMI Client then how do we do it?? How do we keep track of the clients that are connected to the Server??
Like in Socket programming we can easily keep track of the Clients with the help of sockets and so if the Server wants to communicate with the Client then it writes to the Socket. But in RMI how is it possible?


With Best Regards,
Shyam Prasad Murarka
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You need to read about RMI callbacks

Rene
[ May 07, 2005: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
Shyam Prasad Murarka
Ranch Hand

Joined: May 02, 2005
Posts: 209
Hey, Rene thanks very much for that link.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI Small Problem