Chapters 4, 5, and 6 of this guide present a deeper CORBA development example than the Hello World example we saw in chapter 2. The new example is a simple implementation of a bank. The architecture of the bank has three components:
This application is a typical example of a three-tier application architecture comprising a database access layer, a business logic layer, and a user interface layer.
Accounts are stored as records in a Microsoft AccessTM relational database. The database is manipulated by the server using the Functional Developer SQL-ODBC library.
The server provides a single CORBA object that represents the bank. This object manages a collection of CORBA objects that represent customer accounts. The bank has operations for opening and closing accounts, and for retrieving existing accounts from the database. In turn, accounts support operations for querying and updating their balance.
The client initially contacts the server by obtaining a reference to the bank object from the Functional Developer ORB. It then presents the user with a graphical interface to the bank.
In response to user requests, the interface invokes operations on the bank, obtaining further references to accounts created on the server. The client manages separate windows for the bank and each of the accounts that are active in the server.
We will use the Functional Developer DUIM library to implement the client's user interface.