Bionic Buffalo Tech Note #25: Quick Start Guide to Writing CORBA Server Applications
Bionic Buffalo Tech Note #25
Quick Start Guide to Writing CORBA Server Applications
last revised Saturday 2005.02.26
©2005 Bionic Buffalo Corporation. All Rights Reserved.
Tatanka, TOAD, and Bionic Buffalo are trademarks of Bionic Buffalo Corporation
This is a quick introduction to writing CORBA server applications. In this context, a CORBA server
application is defined as some application implementing on one or more CORBA objects. There is no
conflict if the same application is both a client and a server. In fact, most servers also tend to be clients
at the same time. Because of this, the reader should first become familiar with the separate companion
document, Tech Note #20: Quick Start Guide to Writing CORBA Client Applications. The material
from Tech Note #20 will be assumed as a prerequisite to the material in this Tech Note.
This Tech Note summarizes the steps, and gives some examples, but does not provide extensive details.
However, the reader is referred to specific additional documents more information.
This Tech Note illustrates the use of Bionic Buffalo tools. The procedures using other tools are
generally the same, but some non-Bionic Buffalo compilers will not generate all of the programs, data
structures and other information (such as static repository definitions, allocation routines for aliases,
and so on) that are generated by Bionic Buffalo's
france IDL compiler. Workarounds must be made
in such cases by the developer; this Tech Note attempts to convey the background and the basic
process so that the necessary procedures for such workarounds will be reasonably obvious.
Although this Tech Note discusses programming languages in general, it uses examples in the C
language. However, the same principles are applicable to applications written in other programming
Fundamental Principles and Terminology
(In what follows, the architecture is simplified for two reasons: the number of possibilities make the
full architecture too complex to deal with quickly, and for most purposes the simplification is all that is
needed. Possible complications will be mentioned later.)
The implementation of CORBA server applications requires the creation of the following basic
Page 1 of 12