Remote debugging tutorial
This tutorial is a feature of JBuilder Enterprise.
This step tells you how to compile the server and copy the server class files to the remote computer.
To compile the server files in JBuilder, choose Project|Rebuild Project SimpleRMI.jpr. The project is built.
Notice that an expand/collapse icon is displayed by SimpleRMIImpl.java
in the project pane. The RMI compiler created the stub class, SimpleRMIImpl_Stub.java.
Do not edit this file.
Go to a DOS window and look in the samples\RMI
folder. The folder should now contain a classes
folder. The classes
folder contains a hierarchy of folders that follow the package structure. The server class files are stored in the com\borland\samples\rmi
folder. The classes
folder also includes the dependency cache
and Generated Source
folders.
You need to copy the server class files to the remote computer. For the purposes of this sample, you can copy the entire RMI
folder to the remote computer, to a new folder called RMI.
To do this, you can either:
In the next step, you'll start the RMI Registry and the server on the remote computer.