Versions Compared

Key

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

Tuscany 2.0-Beta1 Samples

The Tuscany Samples samples are shipped with Tuscany binary and source releases (see the /samples directory). If you are using Tuscany from a release distribution then make sure you are looking at the documentation that corresponds to the samples as they stood at the time of the release.

...

Note
titleTODO

This feels like a learning-more sample. I wouldn't focus on inclusion with the first time user

learning-more

(warning) all of the run instructions here are subject to change. I just picked ones that works but ideally we'd use the command line consistently when that is operating correctly.

The samples found in the contributions below illustrate more of SCA and Tuscany's features in action. The contributions here are primarily focused on demonstrating the various SCA extensions that the Tuscany runtime supports, for example, bindings and implementations. The directories are named to let you easily find a sample of the extension you're interested in.

You can identify contributions here as the name of the directory from which they are built ends with "-contribution". There are also webapp samples here. The names of these directories end with "-webapp".Refer to the information above in the "running-tuscany" section to find the various options for installing these sample contributions. We present an single default approach for each sample as an example.

async

This sample demonstrates the SCA asynchronous progamming model in action as typified by services that are configured with the asyncInvocation intent. For example, from calculator-contribution

...