BEA Logo BEA WebLogic Enterprise Release 5.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   WebLogic Enterprise Doc Home   |   Naming   |   Previous Topic   |   Next Topic   |   Contents   |   Index

Using the CORBA Name Service

 

This topic provides information on using the BEA WebLogic Enterprise CORBA Name Service.

Contents

 

1. Overview of the CORBA Name Service

The CORBA Name Service

Understanding the CORBA Name Service

 

2. CORBA Name Service Reference

CORBA Name Service Commands

cns

cnsbind

cnsls

cnsunbind

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::bind()

CosNaming::NamingContext::bind_context()

CosNaming::NamingContext::bind_new_context()

CosNaming::NamingContext::destroy()

CosNaming::NamingContext::list()

CosNaming::NamingContext::new_context()

CosNaming::NamingContext::rebind()

CosNaming::NamingContext::rebind_context()

CosNaming::NamingContext::resolve

CosNaming::NamingContext::unbind

The NamingContextExt Object

CosNaming::NamingContextExt::resolve_str()

CosNaming::NamingContextExt::to_name()

CosNaming::NamingContextExt::to_string()

CosNaming::NamingContextExt::to_URL()

The BindingIterator Object

CosNaming::BindingIterator::destroy()

CosNaming::BindingIterator::next_n()

CosNaming::BindingIterator::next_one()

Exceptions Raised by the CORBA Name Service

AlreadyBound

CannotProceed

InvalidAddress

InvalidName

NotEmpty

NotFound

 

3. Managing a WebLogic Enterprise 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 WebLogic Enterprise Domains

Managing Binding Iterators

Using the CORBA Name Service in Secure WebLogic Enterprise Applications

 

4. 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 Client Stub for the CosNaming Interfaces

Step 3: Connect to the WebLogic Enterprise Namespace

Step 4: Bind an Object to the WebLogic Enterprise Namespace

Step 5: Use a Name to Locate an Object in the WebLogic Enterprise Namespace

 

5. Using the 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

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