The Tuscany SCA Java Project

This page provides a high-level overview of the Java SCA (Service Component Architecture) subproject of the Apache Tuscany incubator project.


The SCA Java project is a subproject of the Apache Tuscany incubator project intended to provide a Java implementation of the SCA Specifications. being developed by the Open SOA Collaboration

Packaging / Partitioning

Design & Implementation

Tuscany Extensions

Tuscany's modularity enables providers to contribute extensions that are complete in themselves. For example, someone would provide an extension for a new implementation type (like JavaScript) or a new binding (like RMI). Each extension hooks into the runtime at three points:

  1. a loader that handles extension-specific XML elements
  2. a builder that creates extension-specific components
  3. the runtime components that hook into the wiring fabric

Each extension is packaged as a composite which can be <included> in another or which can be deployed into the system. When the composite starts, all the components it contains register themselves with the appropriate registries in the runtime (e.g. the LoaderRegistry).


<<this section will contain information about the various distributions (fall out of the discussions on Modularity currently going on in the Mailing Lists>>

Downloading and Installing


Tescases in Samples

Running Samples from within IDE

Download the source code from and build the distribution. This will create <Tuscany Codebase>\distribution\sca\standalone\target with two files standalone-1.0-SNAPSHOT-bin.tar.gz and

Unpack say, if you are working on windows, to some location on your machine for example c:\Tuscany_Standalone.

A more detailed set of steps was contributed by Francesco in our user mailling list :

Running Samples from within IDEA & Eclipse

Remote Debugging

$ java -Xdebug -Xnoagent -Djava.compiler=NONE - Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -jar bin/launcher.jar ~/.m2/repository/org/apache/tuscany/samples/ sca/sample-localwire/1.0-SNAPSHOT/sample-localwire-1.0-SNAPSHOT.jar

and then attach to the suspended process.

<< lists the samples that are there in SCA and the features that they demonstrate >>

Getting Started

See Getting Started for a first pass at a Getting Started guide for Tuscany SCA Java M2.

Tuscany/TuscanyJava/SCA_Java (last edited 2009-09-20 22:48:37 by localhost)