Starting from the tutorial example, I generated four client/server pairs:
PiHttpHttp, PiHttpFile, PiFileHttp, and PiFileFile.
Protocol used in setting java.rmi.server.codebase
Name server setting client setting
PiHttpHttp http http
PiHttpFile http file
PiFileHttp file http
PiFileFile file file
Source code, policy files, scripts, and golden files are attached.
To run the code, untar the attachment. Then edit the first six assignments
in the script remote.ksh. Start up rmiregistry on port 1200. Then
The only pair of programs that works is PiHttpHttp. Not coincidentally, this
is the protocol pair used in the tutorial on the web.
The output from my last run is attached as remote.out. These were obtained
with JDK 1.2.1 build I.