How It Was Compiled
by Yanping Tan
The steps to compile the code are:
Each individual component is compiled separately using javac ; for example
javac addServerImpl.java
To generate the skeleton and stub files, the RMI compiler is used:
the skeleton and stub files are generated using rmic; for example
rmic addServerImpl
The files produced by the steps above were
- addServerImpl.class
- addServerImpl_Skel.class
- addServerImpl_Stub.class
- subtractServerImpl.class
- subtractServerImpl_Skel.class
- subtractServerImpl_Stub.class
- timeServerImpl.class
- timeServerImpl_Skel.class
- timeServerImpl_Stub.class
- divideServerImpl.class
- divideServerImpl_Skel.class
- divideServerImpl_Stub.class
- calClient.class
|