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 in a composite. A composite is a type of component whose implementation is not code but an aggregation of 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. In addition, its definition describes how components are wired or assembled together. In the example below, you find see a calculator composite which consists of 5 components, a calculator service has references to 4 four components:Add, Subtract, Multiply and Divide.


(lightbulb) The assembly or wiring is defined in .composite file through Service Component Definition Language (SCDL). For example, calculator.composite would define that calculator component references the other four components.

Anchor
sca contribution
sca contribution
SCA Contribution

...