CORBA 2.3.7 Programmer's Guide for C++
Chapter 3. Compiling and Building an Application
Prev
Next
Chapter 3. Compiling and Building an Application
Table of Contents
Overview of NonStop CORBA Application Development
Development Begins with IDL and CORBA Objects
Development Process
Tips for Building NonStop CORBA Application Components
Makefiles
Special Considerations for Building Transactional Clients and Servers
Using the IDL Compiler
IDL Compiler Processing
IDL Compiler Syntax
Overview of NonStop CORBA Application Development
This section provides an overview of the steps used in developing a simple client and a server. When developing a more
complex application environment, you use these same steps for the individual components. What changes is the number of
objects and the complexity of the interactions between the clients and the objects.
Although application development is often described as though one developer controls all the application components, object
technology lets you develop discrete components without knowing the details of other components with which they interact.
Development Begins with IDL and CORBA Objects
IDL is the language used to specify CORBA object interfaces that client objects can call and object implementations can
supply. Specifying an interface in IDL allows clients and servers to run on distributed systems using different operating
systems and written in different languages.
CORBA objects are entities that the ORB can locate and that can receive client requests. CORBA objects are not concrete
until they have been implemented in a programming language such as C++ or Java. CORBA objects are targets for client
invocations.
You use the NonStop CORBA IDL compiler to generate the stubs and skeletons used to build a NonStop CORBA application.
NonStop CORBA applications must be built using these stubs and skeletons. Code generated by other IDL compilers will lack
the appropriate vendor-specific code.
Development Process
Let us start with an example object interface specification, and follow the process of developing a client and a server. The
required steps are described below and illustrated in Figure 31 .
Figure 3.1. The Process of Developing a Client and a Server