Hello World using CORBA


This is a very basic CORBA application.

A client program asks a server program for a string, prints it to standard output, and then exits.

The client program is composed of the following parts:

library.dylan
Dylan library definition for client
module.dylan
Dylan module definition for client
corba-hello-world-client.dylan
Dylan client implementation
corba-hello-world.spec
client configuration file for IDL
README.htm
this file

The server program is similarly composed of the following parts:

library.dylan
Dylan library definition for server
module.dylan
Dylan module definition for server
corba-hello-world-server.dylan
Dylan server implementation
corba-hello-world.spec
server configuration file for IDL
README.htm
this file

See the "Getting Started" chapter of the CORBA User Guide for a tutorial on how to construct this kind of project, and for more information on what the various parts are for.


Building and Testing the Application

Just press the "Build" buttons on the respective Project Windows.

Now, you can run the application to test that it works. You need to run the server first so that it is waiting to receive calls from the client.

You can allow the client to quit by confirming the final dialog, and then run it again and again. Each time it gets a string from the same server which keeps running all the while.

You can set breakpoints in the client and server code to trap the request and open debugger windows as it passes from client to server, or you can experiment and extend the code, e.g. by returning one of a number of greetings!