Previous Topic: Patterns Versus Templates

Next Topic: Adding Functionality to the Project Entity

Patterns and Components

Patterns and components (such as COM and EJB components) are complementary technologies. CA Plex patterns can be used to combine and implement groups of components. Components are usually likened to the building blocks of a house. Extending this metaphor, you can think of patterns as the blueprint or plan for the house.

Like patterns, components are intended to maximize software reuse. Components are black-boxes, whereas patterns can be regarded as gray-boxes whose internal structure can be modified in certain places. Another distinction is that patterns are purely a design construct whereas components form a part of the running application.