Projektpraktikum -- CORBA Performance Analysis
Advisor: Dr. W. Pohlmann
Document Status: Completed
The following is taken from the document.
CORBA (Common Object Request Broker Architecture) is a middleware to distribute objects over different platforms and different programming languages, specified by the OMG ().
What follows below is a very basic introduction. For a more detailed description consult the CORBA specification () or a good book, like Advanced CORBA programming with C++ ().
First, we need an interface definition written in IDL. This is conceptually similar to a Java interface. This interface is then compiled with an IDL compiler into a stub and a skeleton for the target language. A stub is a proxy for the actual object and handles data marshalling and transfer to the actual object, wherever it may be. The skeleton also contains marshalling and data transfer code, but must be extended by the operations the object is supposed to perform.
To use the object we need a server that creates the object and somehow transfers the reference to it to the clients. The easiest way is via a file on a shared file system. The clients then create the proxy object and can use it as if it is the actual object (with minor modifications, like additional CORBA exceptions).