Deploying the LoanApplication Composite
Composites can be deployed to a domain using a variety of mechanisms. In a test environment, deployment may involve placing the contribution archive in a file system directory. In production environments, where tighter controls are required, deployment would typically be performed through a command-line tool or script.
Conceptually, deployment involves contributing a composite to a domain and activating its components, as depicted in Figure 2.6.
Figure 2.6 Deploying and activating the LoanApplication composite
When the LoanApplication composite is deployed, the SCA runtime instantiates LoanComponent and CreditComponent. During this process, because LoanService is configured with the web services binding, it is exposed as a web service endpoint. When the LoanApplication composite is activated in the domain, its components are available to process client requests.