BEA Logo BEA BEA Tuxedo Release [Release Number]

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   BEA Tuxedo Doc Home   |   Using the CORBA Name Service   |   Previous Topic   |   Next Topic   |   Contents   |   Index

Using the CORBA Name Service

 

This document is intended for programmers who are developing applications with the BEA Tuxedo product and want to use the name service feature.

 

Overview of the CORBA Name Service

The CORBA Name Service

Understanding the CORBA Name Service

 

CORBA Name Service Reference

CORBA Name Service Commands

Capabilities and Limitations of the CORBA Name Service

Getting the Initial Reference to the NameService Environmental Object

The CosNaming Data Structures Used by the CORBA Name Service

The NamingContext Object

CosNaming::NamingContext::new_context()

The NamingContextExt Object

The BindingIterator Object

Exceptions Raised by the CORBA Name Service

 

Managing a BEA Tuxedo Namespace

Installing the CORBA Name Service

Starting the Server Process for the CORBA Name Service

Making the Namespace Persistent

Compressing the Persistent Storage File

Removing Orphan NamingContext Objects

Federating the Namespace

Inbound Federation

Outbound Federation

Federation Across BEA Tuxedo Domains

Managing Binding Iterators

Using the CORBA Name Service in Secure BEA Tuxedo Applications

 

Developing an Application That Uses the CORBA Name Service

Development Steps

Step 1: Obtain the OMG IDL for the CosNaming Interfaces

Step 2: Include the Declarations and Prototypes for the CosNaming Interfaces

Step 3: Connect to the BEA Tuxedo Namespace

Step 4: Bind an Object to the BEA Tuxedo Namespace

Step 5: Use a Name to Locate an Object in the BEA Tuxedo Namespace

 

Using the CORBA Name Service Sample Application

How the Name Service Sample Application Works

Building and Running the Name Service Sample Application

Step 1: Copy the Files for the Name Service Sample Application into a Work Directory

CORBA C++ Client and Server, and CORBA Java Client Version of the Name Service Sample Application

Step 2: Change the Protection Attribute on the Files for the Name Service Sample Application

Step 3: Verify the Settings of the Environment Variables

Step 4: Execute the runme Command

Using the Name Service Sample Application

 

back to top   next page