1999 2009 Ericsson AB. All Rights Reserved.
The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The Orber Application

1998-05-05
B ch_contents.xml

## Content Overview

The Orber documentation is divided into three sections:

PART ONE - The User's Guide
Description of the Orber Application including IDL-to-Erlang language mapping, services and a small tutorial demonstrating the development of a simple service.

PART TWO - Release Notes
A concise history of Orber.

PART THREE - The Reference Manual
A quick reference guide, including a brief description, to all the functions available in Orber.

## Brief Description of the User's Guide

The User's Guide contains the following parts:

ORB kernel and IIOP support

Interface Repository

IDL to Erlang mapping

CosNaming Service

Resolving initial reference from Java or C++

Tutorial - creating a simple service

CORBA Exceptions

Interceptors

OrberWeb

Debugging

### ORB Kernel and IIOP Support

The ORB kernel which has IIOP support will allow the creation of persistent server objects in Erlang. These objects can also be accessed via Erlang and Java environments. For the moment a Java enabled ORB is needed to generate Java from IDL to use Java server objects (this has been tested using OrbixWeb).

### Interface Repository

The IFR is an interface repository used for some type-checking when coding/decoding IIOP. The IFR is capable of storing all interfaces and declarations of OMG IDL.

### IDL to Erlang Mapping

The OMG IDL mapping for Erlang, which is necessary to access the functionality of Orber, is described, The mapping structure is included as the basic and the constructed OMG IDL types references, invocations and Erlang characteristics. An example is also provided.

### CosNaming Service

Orber contains a CosNaming compliant service.

### Resolving Initial References from Java or C++

A couple of classes are added to Orber to simplify initial reference access from Java or C++.

Resolving initial reference from Java
A class with only one method which returns an

Interoperable Object Reference
on the external string format to the INIT object (see "Interoperable Naming Service" specification).

Resolving initial reference from C++
A class (and header file) with only one method which returns an IOR on the external string format to the INIT object (see "Interoperable Naming Service" specification).

### Orber Stub/Skeleton

An example which describes the API and behavior of Orber stubs and skeletons.

### CORBA Exceptions

A listing of all system exceptions supported by Orber and how one should handle them. This chapter also describe how to generate user defined exceptions.

### Interceptors

Descibes how to implement and activate interceptors.

### OrberWeb

Offers the possibility to administrate and supervise Orber via a GUI.

### Debugging

Describes how to use different tools when debugging and/or developing new applications using Orber. Also includes a FAQ, which deal with the most common mistakes when using Orber.