This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes RMI Implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI Implementation " Watch "RMI Implementation " New topic

RMI Implementation

will phillips

Joined: Oct 10, 2005
Posts: 11
For a class project, groups were asked to implement our own version of RMI and surprisingly, I'm not asking how to do that. Project is finished, submitted, and the final exam has been written, it is only my morbid curiosity that pushes me to learn how it is actually done. I went poking through the source folder provided with the JDK and found implementations of some of the RMI code, but not RemoteRef, specifically the invoke method. After a week of on and off searching, I did find something on docjar that is suppose to show the source for the UnicastRef object an implementation of RemoteRef, however, it seems a little odd that it would contain an empty method (Line 260) and the use of a number of deprecated classes and methods. Is this sort of thing common in the java source or do I have the wrong implementation? If this is the wrong implementation, would someone be able to point me in the direction of the RemoteRef implementation that is used with RMI?

For those of you who are interested, or think I am going to use the code in my project, our project is currently stored on google code here. It is nothing fancy, it works and got the group a solid A.
I agree. Here's the link:
subject: RMI Implementation
It's not a secret anymore!