Overview

The CORBA component model also defines the concept of receptacles that are connection points for facet references. This section describes an example that extends the previous example with a Display component which is connected to the Hello component, as shown in Fig. 4.1.

Figure 4.1: Connecting components
\includegraphics[width=10cm,angle=0]{ConnectComponents}

The test client uses the component's home to create component instances. The component instances are used for configuration and to provide facets. To connect the two component instances, the LCD facet is connected to the LCD receptacle. Finally, the test client calls operations on the Console facet that are delegated to the Display component.



2003-11-09