Compiling and Running the Hello World Application
At this point, you've written the Hello.idl file, run the idltojava compiler on it, and you've written the code for the client and server.
Compiling the Client Application
Now you'll compile the application. The steps to do this are as follows:
Compile HelloClient.java:
javac HelloClient.java HelloApp\*.java
Correct any errors in your file and recompile if necessary.
You should see HelloClient.class in the project directory.
Compile the Server
The following are the steps to compile the server application:
Compile HelloServer.java:
javac HelloServer.java HelloApp\*.java
Correct any errors in your file and recompile if necessary.
You should see HelloServer.class and HelloServant.class in the project ...
Get JavaBeans Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.