A Basic Client-Server Application—Example 1
This section introduces a book repository application that tracks and administers various book collections. The application might be used as a prototype for software that manages a book library. A central CORBA server is connected to a database backend that stores details of the books in each collection. Clients connect to the server to search for books and perform actions such as borrowing and returning books. This application is built up in stages throughout this chapter as the necessary CORBA features are introduced.
The first step in writing the CORBA application is to define the interface between client and server in terms of OMG IDL. Listing 2.1 shows the first draft of an IDL module, BookRepository ...
Get Pure CORBA now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.