Configuring TAO

Contents

Setting Up Your Environment

In order for TAO to operate correctly, the following environment variables must be set:

Bootstrapping OpenFusion Services on TAO

To Bootstrap the OpenFusion Services while using TAO, we recommend that you use the -ORBInitRef parameter with the name of the service and the location of the IOR. For example, if you had a client called MyClient and you wanted to bootstrap the OpenFusion NameService, then you would run your client like this:

MyClient -ORBInitRef NameService=file:///<INSTALL_DIR>/openfusion/domains/
OpenFusion/localhost/NameService/NameSingleton/NameSingleton.ior

When your program initializes the ORB, it will pick up this property and when you perform a resolve_initial_references on the NameService, it will look at the file you provided and resolve the service from that.

Next, you develop your clients and servers as you normally would, but including the relevant OpenFusion files.


PrismTech TOP
Top