BEA Logo BEA WebLogic Enterprise Release 5.0

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

 

   WLE Doc Home   |   CORBA Programming & Related Topics   |   Previous   |   Next   |   Contents   |   Index

CORBA Server-to-Server Communication

This document describes using the CORBA server-to-server functionality in the BEA WebLogic Enterprise (sometimes referred to as WLE) product. This document defines concepts associated with using server-to-server communication and describes the development process for Java and C++ joint client/server applications. In addition, instructions for building and running the Chat Room and Callback sample applications are included in this document.

 

Understanding
CORBA Server-to-Server Communication

Overview of CORBA Server-to-Server Communication

Joint Client/Server Applications

Object Policies for Callback Objects

 

Developing C++ Joint Client/Server Applications

Development Process

Chat Room Sample Application

Step 1: Writing the OMG IDL

Step 2: Generating Skeletons and Client Stubs

Step 3: Writing the Methods That Implement Each Object's Operations

Step 4: Writing the Client Portion of the Joint Client/Server Application

Step 5: Creating a Callback Object Using the Callbacks Wrapper Object

Step 6: Invoking Operations on a WLE Object By Passing a Reference to the Callback Object

Step 7: Specifying Configuration Information

Step 8: Compiling Joint Client/Server Applications

Using the POA to Create a Callback Object

   Creating a Callback Object with a Transient Object Policy

   Creating a Callback Object with a Persistent/User ID Object Policy

   Creating a Callback Object with a Persistent/System ID Object Policy

Threading Considerations for C++ Joint Client/Server Applications

Building and Running the Chat Room Sample Application

   Copying the Files for the Chat Room Sample Application into a Work Directory

   Changing the Protection Attribute on the Files for the Chat Room Sample Application

   Verifying the Setting of the TUXDIR Environment Variable

   Executing the ChatSetup Command

   Starting the Server Application

   Starting the Client Application

   Stopping the Chat Room Sample Application

 

Developing Java Joint Client/Server Applications

Development Process

Software Requirements

The Callback Sample Application

Step 1: Writing the OMG IDL

Step 2: Generating Skeletons and Client Stubs

Step 3: Writing the Methods That Implement Each Interface's Operations

Step 4: Initializing the ORB

Step 5: Writing the Client Portion of the Joint Client/Server Application

Step 6: Creating a Callback Object Using the Callbacks Wrapper Object

Step 7: Establishing a Connection to an ISH

Step 8: Invoking Operations on the Callback Object

Step 9: Specifying Configuration Information

Step 10: Compiling Java Joint Client/Server Applications

Threading Considerations for Java Joint Client/Server Applications

Building and Running the Callback Sample Application

   Copying the Files for the Callback Sample Application into a Work Directory

   Changing the Protection Attribute on the Files for the Callback Sample Application

   Verifying the Settings of the Environment Variables

   Executing the runme Command

Using the Callback Sample Application