Building software systems from prefabricated components is a very attractive vision. Distributed component platforms (DCP) and their visual development environments bring this vision closer. However, some experiences with component libraries warn us about potential problems that arise when software-system families or systems evolve over many years of changes. Indeed, implementation-level components, when affected by many independent changes, tend to grow in both size and number, impeding reuse. This unwanted effect is analysed in detail. It is argued that components affected by frequent unexpected changes require higher levels of flexibility than the `plug-and-play' paradigm is able to provide. A program construction environment is proposed, based on generative programming techniques, to help in customisation and evolution of components that require much flexibility. This solution allows the benefits of DCPs to be reaped during runtime and, at the same time, keeps components under control during system construction and evolution. Salient features of a construction environment for component based systems are discussed. Its implementation with commercial reuse technology FusionTM is described. The main lesson learnt from the project is that generative-programming techniques can extend the strengths of the component based approach in two important ways: 1) generative-programming techniques automate routine component customisation and composition tasks and allow developers work more productively, at a higher abstraction level; 2) as custom components with required properties are generated on demand, it is not necessary to store and manage multiple versions of components
Published in:
Software, IEE Proceedings -
(Volume:147
,
Issue:
6
)
Date of Publication: 2000