About this task
The
options for mapping CORBA components
to deliverable components are as follows:
- CORBA
server executable - You can map a
CORBA interface and a class that implements it to the same component. IBM® Rational® Rhapsody® generates
the code and makefile to create a server executable from the component.
Set the CORBA::Configuration::CORBAEnable property
to CORBAServer to generate a CORBA server main() loop.
- CORBA client executable - You can map a
CORBA interface and a class that has an association to it to the same
component. Rational Rhapsody generates
the code and makefile to create a client executable from the component.
Set the CORBAEnable property to CORBAClient to
generate a client executable.
- CORBA client/server
executable - You can
map a CORBA interface, a class that implements it, and a class that
has an association to it to the same component. Rational Rhapsody generates
the code and makefile to create an executable capable of running as
both a client and a server from the component.
- CORBA
interface library - You can map your
CORBA design into one component and your C++ design into another component.
The CORBA component can generate a library that contains either the
server library, the client library, or both. The C++ component can
then use this library. See Mapping clients and servers to components for more information.