BEA Logo BEA WebLogic Enterprise Release 5.1

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

 

   WebLogic Enterprise Doc Home   |   Programming Topics   |   Previous Topic   |   Next Topic   |   Contents   |   Index

CORBA Java Programming Reference

 

This document describes the BEA WebLogic EnterpriseTM CORBA Java application programming interface (API).

 

OMG IDL Syntax

OMG IDL Extensions

 

Server Description File

Creating the Server Description File

About Object Activation and Deactivation

Server Description File Syntax

Prolog

Server Declaration

Module and Implementation Declarations

Archive Declaration

Sample Server Description File

 

Java TP Framework

A Simple Programming Model

Control Flow

Object State Management

Transaction Integration

Object Housekeeping

High-level Services

Object State Management

Activation Policy

Application-controlled Activation and Deactivation

Explicit Activation

Self-deactivation

Saving and Restoring Object State

Transactions

Transaction Policies

Transaction Initiation

Transaction Termination

Transaction Suspend and Resume

Restrictions on Transactions

Voting on Transaction Outcome

Transaction Time-outs

Java TP Framework Interfaces

Tobj_Servant Interface

Server Object

TP Interface

Error Conditions and Exceptions

Exceptions Raised by the Java TP Framework

Exceptions in the Server Application Code

Example

Exceptions and Transactions

 

Java Bootstrap Object Programming Reference

Why Bootstrap Objects Are Needed

How Bootstrap Objects Work

Types of Remote Clients Supported

Capabilities and Limitations

Bootstrap Object API

Tobj Module

Java Mapping

Programming Examples

Getting a SecurityCurrent Object

Getting a UserTransaction Object

 

FactoryFinder Interface

Capabilities, Limitations, and Requirements

Functional Description

Locating a FactoryFinder

Registering a Factory

Locating a Factory

CORBAservices Naming Service Module OMG IDL

CORBAservices Life Cycle Service Module OMG IDL

Tobj Module OMG IDL

Locating Factories in Another Domain

Why Use BEA WebLogic Enterprise Extensions?

Creating Application Factory Keys

Names Library Interface Pseudo OMG IDL

Java Mapping

Java Methods

Java Programming Examples

Server Registering a Factory

Client Obtaining a FactoryFinder Object Reference

Client Finding One Factory Using the Tobj Approach

 

Security Service

 

Transactions Service

 

Notification Service

 

Request-Level Interceptors

 

Interface Repository Interfaces

Structure and Usage

From the Programmer's Point of View

Performance Implications

Building Client Applications

Getting Initial References to the InterfaceRepository Object

Interface Repository Interfaces

Supporting Type Definitions

IRObject Interface

Contained Interface

Container Interface

IDLType Interface

Repository Interface

ModuleDef Interface

ConstantDef Interface

TypedefDef Interface

StructDef

UnionDef

EnumDef

AliasDef

PrimitiveDef

ExceptionDef

AttributeDef

OperationDef

InterfaceDef

 

Joint Client/Server Applications

Introduction

Main Program and Server Initialization

Servants

Servant Inheritance from Skeletons

Callback Object Models Supported

Preparing Callback Objects using BEAWrapper Callbacks

Threading Considerations in the Main Program

Multiple Threads

Java Client ORB Initialization

IIOP Support

Java Applet Support

Port Numbers for Persistent Object References

Callbacks Interface API

 

Java Development and Administration Commands

 

CORBA ORB

Initializing the ORB

Passing the Address of the IIOP Listener

 

Mapping IDL to Java

IDL to Java Overview

Package Comments on Holder Classes

Exceptions

Differences Between CORBA and Java Exceptions

System Exceptions

System Exception Structure

Minor Codes

Completion Status

User Exceptions

Minor Code Meanings