O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

  1. Compile HelloClient.java:

    javac HelloClient.java HelloApp\*.java
    
  2. Correct any errors in your file and recompile if necessary.

  3. You should see HelloClient.class in the project directory.

Compile the Server

The following are the steps to compile the server application:

  1. Compile HelloServer.java:

    javac HelloServer.java HelloApp\*.java
    
  2. Correct any errors in your file and recompile if necessary.

  3. You should see HelloServer.class and HelloServant.class in the project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required