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.