Implementing Component Homes

For every component type, there is at least one component home type to implement. The class that implements a component home is a component home executor. In the CCM, most of the code for the component home executor is generated automatically using CIDL or some proprietary persistence mechanism. Alternatively, you might choose to customize the persistence mechanism by providing the implementation code yourself.

The examples in this section show how to implement both keyless and keyfull component homes (as defined in “Basic Component Home Declarations,” earlier in this chapter).

Customizable Persistence

In the examples that follow, it is assumed that your container vendor allows you to customize the persistence mechanism ...

Get Pure CORBA now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.