Click here to download the file compmon.jar (16 KB), and put it in an empty folder.
Open a console window (a.k.a. DOS prompt), and set the new folder as the current folder.
Be sure your PATH environment variable includes a folder containing
the JDK programs (such as C:\JDK1.2\BIN
).
Type the following command:
jar xf compmon.jarThe subfolder "computation" will be created, along with some files, both in the current folder and in the "computation" folder. These are the source files.
Type the following command:
buildThe following folders will be created, containg several files:
client
client\computation
server
server\computation
They will contain only the generated ".class" files and the ".gif" icons.
To execute the demo application, type the following command:
applicationTo execute the demo applet, type the following command:
appletTo execute the client/server demo, first you need to start the server on the remote host. Of course, the server process can be launched on the same computer where the client process is running. To start the server, type the following command:
startserverWhen the server is started, both the application and the applet can communicate with it, using the name of the host that is running the server process. The next page shows how to use the demo.