SECTION 20.2
CORBA RMI
829
Before discussing the above components of CORBA,
we introduce CORBA RMIfrom a programmer’s point of view CORBA RMI
Programming in a multi-language RMI system such as CORBA RMI requires more of the programmer than programming in a single-language RMI system such as Java RMI.
The following new concepts need to be learned:
•the
object model offered by CORBA;
•the interface definition language and its mapping onto the implementation language.
Other aspects of CORBA programming are similar to those discussed in Chapter 5. In particular, the programmer defines remote interfaces for the remote objects and then uses an interface compiler to produce the corresponding proxies and skeletons. But in
CORBA, proxies are generated in the client language and skeletons in the server language. We will use the shared whiteboard example introduced in Section 5.5 to illustrate how to write an IDL specification and to build server and client programs.
Share with your friends: