[H]
DejaVU Online:
Principles of Object-Oriented Software Development
(©)
[H]
-
[up]
[top] -
[I]
[II]
[III]
[IV] -
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12] -
[A]
[R]
Instructor's Guide
Introduction
Interface
Broker
C++
Java
Prolog
Configure
Conclusions
CORBA is an impressive technology.
It allows for writing heterogeneous platform-independent
and language-independent client/server object systems.
Most software developers, including those trained
in object orientation, are unfamiliar with
developing distributed applications.
As a consequence, writing a CORBA application may
seem to be beyond reach.
This example is meant to break that barrier,
and to show the elementary steps to be taken in writing
a CORBA application.
To complicate matters a bit, we write a three-language system,
consisting of three servers and three clients, written
respectively in C++, Java and Prolog.
Hello (CORBA) Universe
H
- platform-independent
- language-independent
- server -- C++, Java, Prolog, ...
- client -- C++, Java, Prolog, ...
- 9 combinations -- test.sh
slide: Hello (CORBA) Universe
Admittedly, the Hello Universe example
presented here is slightly more complex than the
Hello World example
given in the appendix
on Java.
In the example, it is shown in complete detail how to write clients and servers
in the three respective languages, how to write a test program
to test all possible combinations and how to manage the configuration
of a CORBA application.
The example is based on the original Hello World example
that came with Orbacus 3.1 from
Object-Oriented Concepts
and examples from the experimental
SWI-Prolog CORBA binding
for Orbacus 3.1.
[H]
-
[up]
[top] -
[I]
[II]
[III]
[IV] -
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12] -
[A]
[R]