Previous | Table of Contents | Next |
A CORBA object has a single interface. This interface can be built from several other interfaces through inheritance. The
resulting interface might have many methods and hence become big. A COM object usually has multiple interfaces and supports
the client to detect and navigate between these interfaces at run time. As a CORBA interface is defined by inheritance it
has to be fully defined at compile time. As COM allows run time detection of interfaces (the IUnknown::QueryInterface() method)
a full match between interfaces implemented by a server and interfaces known to a client is not required.
Mapping OPC interfaces to DAIS interfaces can be done in two ways:
1. Inherit a number of OPC interfaces into one CORBA object. This may result in name clashes that require renaming of methods.
2. Instantiate an OPC interface as an own CORBA object referenced by a container object.
Both techniques are used in the DAIS specification.