Contents


Preface
Purpose of This Document
How to Use This Document
Related Documentation
Contact Information

Understanding
Server-to-Server Communication

Overview of 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