An assembly for processing a service used by a component-based application is
provided by receiving a request from the component-based application that specifies
a role name symbolizing the task, accessing an assembly data-structure corresponding
to the role name and having metadata information specifying a number of components
used to perform the service and interfaces used to connect each component with
other components, loading a component identified in the assembly data-structure
into an area for processing, connecting an interface associated with the loaded
component to other components according to the meta-data information in the assembly
data-structure, and performing the requested service using the loaded component
to process data and the interface to pass information from the loaded component
to other components.