Next Previous Up Top Contents Index

2.5 Implementing the client

2.5.1 Initializing the ORB

The first thing our client needs to do is to initialize the Functional Developer ORB. CORBA provides a standard operation for this, called orb_init. This is just one of many operations that ORBs must offer. The name is an IDL-style name (in fact it is a pseudo-IDL or PIDL name) that is mapped to Dylan just like the IDL we wrote for Hello World earlier. In the Functional Developer ORB this operation is invoked as corba/orb-init.

An ORB initialization call looks like this:

let orb = corba/orb-init(make(corba/<arg-list>), 
                              "Functional Developer ORB")

Ignore the arguments for the moment -- they are explained in Chapter 5. The call returns an object of class corba/<orb>. We need to keep our ORB reference around, so we bind this value to the name orb.


Developing Component Software with CORBA - 26 May 1999

Next Previous Up Top Contents Index