Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Individual components like those above can be used on their own, or they can be grouped together to form in a composite components. A composite is a type of component whose implementation is not code but an aggregation of other one or more components co-operating to provide Services as a whole. Think of composite as a solution, for example credit check composite. A composite can also be used within a larger solution, for example credit check can be part of a order processing composite. A composite has the same charactersitics as a component. It provides Services, has References to other dependencies, and can be configured using Properties and can have intent policies in just the same way as an individual components can.The typical implementation of a composite is described using XML defined by the SCA Assembly Specification (known as SCA Component Definition Language or SCDL). In addition, its definition describes how components are wired or assembled together. In the example below, you find a calculator composite which consists of 5 components, a calculator service has references to 4 components:Add, Subtract, Multiply and Divide.

Anchor
sca contribution
sca contribution
SCA Contribution

...