Creating the Stub and Skeleton Classes
for the Observers






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

 javac -d . ThermObserver.java

 javac -d . ThermObserverImpl.java

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

ThermObseerver.class      ThermObserverImpl_Skel.class
ThermObserverImpl.class   ThermObserverImpl_Stub.class