Getting Started

The lessons in this section give a quick introduction to Java and CORBA programming using the Novell exteNd Messaging Platform's ORB. They introduce you to the features and provide you with an opportunity to compile and run simple programs. The documentation inside the sample programs will give you the background knowledge you need to understand how the programs work.

Overview

The Novell exteNd Messaging Platform's ORB is an enterprise-class Java CORBA ORB and services. It provides complete support for developing, deploying, and managing Java CORBA applications. It includes advanced features like the Portable Object Adapter (POA), Java Objects by Value, Java RMI-IIOP, Server Activation, IIOP/SSL, pluggable Authentication Support, several flavors of COS Naming, Bootstrap Protocol, and Object Transaction Service (OTS) support.

Hello World Application

The ORB supports IDL as well as Java RMI for writing CORBA object interfaces. Below are two "Hello World" sample programs that demostrate the basic concepts and steps involved in writing Java CORBA clients and servers.

Hello World using IDL

Hello World using RMI-IIOP

Also see "Hello World using JNDI" for how to rewrite the above example without the explicit use of any CORBA APIs.

The ORB now also includes generation of IDL from Java RMI as well as Objects by Value support in IDL. This allows us to write IDL clients to our RMI-IIOP servers and vice-versa. The example below shows how we can generate IDL from the above RMI-IIOP Hello World example and write an IDL client to access an RMI-IIOP Object.

Hello World using RMI-IIOP Server and IDL Client



Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.