Homepage of Ingo Klöckl
 Home
 Programmieren
 - Toolbox
 - Java
 - PostScript
 - Perl
 - Assembler
 - Links
 - Download
Ingo Klöckl
i.kloeckl@2k-software.de

Programming CORBA with Orbacus on Linux

A simple CORBA client/server pair with explicit activation

This examples demonstrates some techniques using a very simple example of a client/server pair. The server activates the implementation explicitly.

The following files have to be written:

The example can be build using this Makefile.

After succesfull build of all executables, the following steps are required for running the example. First, you have to setup all PATH and LD_LIBRARY_PATH variables as explained here. First, you have to start the server, then, in another window, the client. The client tries to locate the server via a reference stored in a file, and calls some remote methods.

It is possible to run both programs on different hosts, if the machines have access to a common file system, e.g. a Samba or NFS filesystem. Both programs must be able to write or find the file with the stringified IOR.

back to CORBA page