Creating the Stub and Skeleton Classes






To create the stub and skeleton classes we execute the following Unix/DOS commands

 javac -d . Thermometer.java

 javac -d . ThermometerImpl.java

 rmic -d . therm.ThermometerImpl
In the directory ./therm, the following files are created

Thermometer.class         ThermometerImpl_Skel.class
ThermometerImpl.class     ThermometerImpl_Stub.class