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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.