The first step in developing a CORBA application is to define the interfaces to its distributed application objects. We can define these interfaces using the CORBA Interface Definition Language (IDL).
Essentially, the IDL specification of an interface lists the names and types of operations that:
Our application manages three types of CORBA object, representing accounts, checking accounts, and banks. We declare the interfaces to all three objects within the same CORBA module, BankingDemo
:
module BankingDemo {
interface account {
// details follow
};
interface checkingAccount : account {
// details follow
};
interface bank {
// details follow
};
};
The following subsections describe the IDL declarations for each of the three interfaces. You can find the complete IDL description for the bank demo in the examples folder, under
examples/corba/bank/bank.idl