The Hello Client-Server Example

(from http://java.sun.com/docs/books/tutorial/idl/)

Despite its simple design, the Hello World program lets you learn and experiment with all the tasks required to develop almost any CORBA program that uses static invocation.

The steps in the process of communication between the client and server are:

Communication between the client and server.
  1. The client (applet or application) invokes the sayHello operation of the HelloServer.
  2. The ORB transfers that invocation to the servant object registered for that IDL interface.
  3. The servant's sayHello method runs, returning a Java String.
  4. The ORB transfers that String back to the client.
  5. The client prints the value of the String.