Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

RMI Implementation

Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!