Further Suggestions.
for the project on Design and Implementation of Basic RMI Mechanisms
by Kohei Honda
Department of Computer Science, Queen Mary and Westfield College, University of London
March 2000
Here are suggestions if you are really stuck and the time for the project is running out.
For (1) I strongly recommend that you try to offer a more
general framework/design in your report, even if the implementation
itself is for a specific class.
- Try writing a program which only works for ZipCodeServerImpl.
This does not involve any remote reference in marshalling, and many
aspects would become easier.
- If you are not sure how a method can be invoked at a remote
(server's) site, look among classes in the java.lang package in the
JavaAPI specification. It would then jump into your eyes...
- How to use TCP (or sockets) can be found in
the registry program
I provided (see here):
we can further make this better by using threads
etc., but it gives a basic idea.