CORBA 2.6 Programmer's Guide for C++

Chapter 1. Introduction to NonStop CORBA Programming
Chapter 1. Introduction to NonStop
CORBA Programming
Before You Begin
Design Activities
Sample Programs
Introduction to NonStop CORBA Components
NonStop CORBA 2.6 is based on the OMG standards for CORBA 2.6. This guide describes features
specific to the NonStop CORBA implementation as the features apply to designing and coding
applications. For information about CORBA standards or general CORBA programming information,
you should consult the OMG standards themselves or one of the many books available in the open
market.
A distributed object application using NonStop CORBA consists of three types of components:
Object classes
Servers, each of which hosts one or more object classes
Clients, which make use of objects in the servers
The terms client and server refer to roles played by processes, but the same process can be both a client
and a server. When a process is invoking methods on an object, it is acting in the role of a client; when a
process receives method requests, it is acting in the role of a server.
The components of a hypothetical application could use NonStop CORBA and other CORBA
implementations. Programming language objects can be any kind of object class supported by the
system; for example, a proprietary C++ object class. CORBA objects are objects that comply with the
CORBA standards and are accessible to distributed clients. CORBA objects are conceptual objects that
are mapped to instances of programming language objects. CORBA objects use interoperable object
references (IORs) and the Internet Inter-ORB Protocol (IIOP) to provide location, platform, and
language independence.
Before You Begin
To design an application or component, you must understand the following topics:
General principles of object-oriented design