Oracle8i CORBA Developer's Guide and Reference
Release 3 (8.1.7)

Part Number A83722-01

Library

Service

Index

Go to next page

Contents

Title and Copyright Information

Send Us Your Comments

Preface

1 Overview

Prerequisite Reading
Terminology
About CORBA
CORBA Features
About the ORB
Using JNDI and IIOP
IIOP
For More Information
Books
URLs

2 Getting Started

A First CORBA Application
Writing Interfaces in IDL
Generate Stubs and Skeletons
Write the Server Object Implementation
Write the Client Code
Compiling the Java Source
Load the Classes into the Database
Publish the Object Name
Run the Example
The Interface Definition Language (IDL)
Using IDL
IDL Types
Exceptions
Getting by Without IDL
Activating ORBs and Server Objects
Client Side
Server Side
About Object Activation
CORBA Interceptors
Debugging Techniques
Using a Debug Agent for Debugging Server Applications

3 Configuring IIOP Applications

Overview
Oracle8i Typical or Minimal Installation
Oracle8i Custom Installation
Manual Install and Configuration
Configuring Through Tools
Configuring Through Editing Initialization Files
Advanced Configuration Options
Database Listeners and Dispatchers
Dynamic Listener Endpoint Registration
Direct Dispatcher Connection
Configuring SSL for EJB and CORBA

4 JNDI Connections and Session IIOP Service

JNDI Connection Basics
The Name Space
Execution Rights to Database Objects
URL Syntax
URL Components and Classes
Using JNDI to Access Bound Objects
Importing JNDI Support Classes
Retrieving the JNDI InitialContext
Session IIOP Service
Session IIOP Service Overview
Session Management
Service Context Class
Session Context Class
Session Management Scenarios
Setting Session Timeout
Retrieving JServer Version Number
Activating In-Session CORBA Objects From Non-IIOP Presentations
Accessing CORBA Objects Without JNDI
Retrieving the NameService Initial Reference
Retrieving Initial References from ORBDefaultInitRef

5 Advanced CORBA Programming

Using SQLJ
Running the SQLJ Translator
A Complete SQLJ Example
Implementing CORBA Callbacks
IDL
Client Code
Callback Server Implementation
Callback Client-Server Implementation
Retrieving Interfaces With The IFR
Publishing the IDL Interface
Retrieving Interfaces Implicitly
Retrieving Interfaces Explicitly
Using the CORBA Tie Mechanism
Migrating from JDK 1.1 to Java 2
Invoking CORBA Objects From Applets
Using Signed JAR Files to Conform to Sandbox Security
Performing Object Lookup in Applets
Modifying HTML for Applets that Access CORBA Objects
Interoperability with non-Oracle ORBs
Java Client using Oracle ORB
Java Client using non-Oracle ORB
C++ Client Interoperability
IIOP Transport Protocol

6 IIOP Security

Overview
Data Integrity
Using the Secure Socket Layer
SSL Version Negotiation
Authentication
Client-side Authentication
Using JNDI for Authentication
Providing Username and Password for Client-Side Authentication
Using Certificates for Client Authentication
AuroraCertificateManager Class
Server-Side Authentication
Authorization
Setting up Trust Points
Parsing through the Server's Certificate Chain
AuroraCurrent Class

7 Transaction Handling

Transaction Overview
Global and Local Transactions
Demarcating Transactions
Transaction Context Propagation
Enlisting Resources
Two-Phase Commit
JTA Limitations
JTA Server-Side Demarcation
JTA Client-Side Demarcation
Configuring Two-Phase Commit Engine
Creating DataSource Objects Dynamically
Setting the Transaction Timeout
Java Transaction Service
JTS Client-Side Demarcation
JTS Server-Side Demarcation
JTS Limitations
Transaction Service Interfaces
TransactionService
Using The Java Transaction Service
For More Information on JTS
JDBC Restrictions

A Example Code: CORBA

Basic Example
README
Bank.IDL
Server
Client.java
IFR Example
Bank.IDL
Server
Client
Callback Example
README
IDL Files
Server
Client
TIE Example
README
Hello.IDL
Server Code - HelloImpl.java
Client.java
Pure CORBA Client
README
Bank.IDL
Server Code
Client.java
JTA Examples
Single-Phase Commit JTA Transaction Example
Employee.IDL
Client.java
EmployeeServer.sqlj
Two-Phase Commit JTA Transaction Example
Employee.IDL
Client.java
Server
JTS Transaction Example
README
Employee.IDL
Client.java
Server
SSL Examples
Client-Side Authentication
README
Hello.IDL
Client.java
Server
Server-Side Authentication
README
Hello.IDL
Client.java
Server
Session Example
README
Hello.IDL
Client.java
Server
Applet Example
JDK and JInitiator Applets
README
HTML for JDK 1.1
HTML for JDK 1.2
HTML for Oracle JInitiator
Applet Client
Visigenic Applet
README
HTML for Visigenic Client Applet
Visigenic Client Applet

B Comparing the Oracle8i JServer and VisiBroker VBJ ORBs

Object References Have Session Lifetimes
The Database Server is the Implementation Mainline
Server Object Implementations are Deployed by Loading and Publishing
Implementation by Inheritance is Nearly Identical
Implementation by Delegation is Different
Clients Look Up Object Names with JNDI
No Interface or Implementation Repository
The Bank Example in Aurora and VBJ
The Bank IDL Module
Aurora Client
VBJ Client
Aurora Account Implementation
VBJ Account Implementation
Aurora Account Manager Implementation
VBJ Account Manager Implementation
VBJ Server Mainline

C Abbreviations and Acronyms


Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Service

Index