Versions Compared

Key

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

...

Code Block
function add(n1, n2) {
   return n1 + n2;
}

<QUESTION: Where to talk about dependency injection? Raymond>

Enabling Web 2.0

A typical Web2.0 application will reference several services in the organization and integrate the provided data in the browser. Tuscany SCA enables such services using popular technologies such as JSONRPC, RSS and Atom protocols.

...

The easiest way to get started with Tuscany SCA is to download the latest release 3 and try some of the samples. You can get the latest release from here (http://incubator.apache.org/tuscany/sca-java-releases.htmlImage Removed).

There is set of guides for the Tuscany Java SCA software here (http://incubator.apache.org/tuscany/java-sca-documentation-menu.htmlImage Removed). ?. In particular the User Guide provides a simple walkthough of the Tuscany Java SCA Calculator sample. There is also a link (http://incubator.apache.org/tuscany/sca-java-releases.data/onlineStore.pdfImage Removed) to detailed paper giving detailed instructions of how to build a simple Web2.0 application using Tuscany Java SCA 7.

There are many more samples provided in the "samples" directory of the release. The file samples/README gives an overview of each of them and each sample comes with its own README and a graphical representation (.png file) of the services that the sample is demonstrating.

Once you have a feel for how Tuscany operates you will likely want to build a project of your own. Yo You can of course take a suitable sample and use that as a starting point. Primarily you

Coming back to the business questions we discussed earlier in the paper your application development process will involved involve the following steps.

  • Identify what business functions are required and describe using SCA Components and Services
  • Identify what dependencies each component has and provide each component with suitable SCA References.
  • Introduce SCA Properties for any values that will have to change as the application is reconfigured or redeployed.
  • Compose the services within an SCA composite using Wires
  • Describe any specific protocols that need to be used using bindings. References and Services without bindings will adopt a default communication strategy
  • Identify the components in you application and the services that these components provide
  • Identify the services that these components depend on. These are the components references.
  • Build an XML (.composite) file describing the components, services, references and the relationships between them
  • Build the component implementations
  • Contribute the .composite file, the component implemenations and any dependencies to the Tuscany SCA runtime.

...