• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI callback tutorial  RSS feed

 
Chris Robinson
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone recommend a good tutorial to help me learn about RMI callbacks. I think I've just about grasped the concept of RMI and have used the Sun tutorials but can't seem to find a good one explaining callbacks. I'm looking to write a server that clients can register with and when specific events happen the server notifies them.
If you've used one in the past (preferably at a basic level) that you thought was good could you let me know.
Thanks.
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RMI Client Callbacks. Since this question is not about IO, I'm going to put it in the Distributed Java Forum.
 
Michael Remijan
Author
Ranch Hand
Posts: 131
7
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at my timeserver application. It's exactly what you're looking for. I've develped and tested on j2se 1.4.2

http://mjremijan.dyndns.org/oak/timeserver/
 
Catalin Merfu
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael,

Does the server need to open another socket to connect back to the client?
Are there at least 2 sockets involved in the RMI session?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!