| Tuscany Wiki > Home > SCA Java Project > Composite Application Deployment with SCA Domain |
A retail application is built using SCA. The application is developed and packaged as 3 contributions:
Both Store and Store-Client have dependency (importing the interfaces) on Asset.
There are two deployable composites:
The application will be deployed to different machines or JVMs:

| Steps | Domain Services | SPIs | Tools | Note |
|---|---|---|---|---|
| Add Assets, Store, and StoreClient contributions to the domain | Install/Uninstall contributions | Workspace | Static:
|
We can build different ways to make contributions available to the SCA domain. |
| Parse the contributions | Contribution Processing | ContributionScanner ArtifactProcessor |
||
| Resolve dependencies across contributions | Import/Export resolution | ContributionDependencyBuilder |
|
We need to find out a collection of contributions to support a composite application based on the import/export statements |
| Find/Load/Resolve the composites from the contributions: Store composite StoreClient composite |
The assembly builders | ArtifactProcessor CompositeBuilder |
The endpoints using SCA addresses or relative URIs should be resolved against the physical base URIs for the bindings based on the node configuration. The resolution can be deferred to runtime over a service registry (which I treat it as a way to form the SCA domain dynamically) |
Deployable composites can be designated by the contributions. It's also possible that the assembler to define a deployment composite on the fly. |
| Configure two nodes to the SCA domain, one to run the StoreClient and the other for Store. The Store one requires WS, ATOM and JSONRPC | implementation.node | NodeImplementation |
|
The node represents the computing capabilities in the SCA domain. |
| Assign a deployment composite to a node: StoreClient --> node1 Store --> node2 |
Run the composite application by a node |
|
The deployable image of an SCA composite application to a node is the composite and a list of contributions to support the composite application. | |
| Monitor and control the services running on a node | See what's going on, start/stop the services |