diff options
author | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-10 14:16:09 +0000 |
---|---|---|
committer | kelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-10 14:16:09 +0000 |
commit | 9437c0186c353b9b379f92937421cd722d6f2c31 (patch) | |
tree | 0e841918c641d3c48792ed57c5334ac0fb826873 /sca-java-2.x/tags/2.0-M5/samples/contribution-implementation-java-calculator/README | |
parent | 5d62ebc98a02a89037e1657ff9bf51010160c52b (diff) |
tag for Tuscany 2.0 Milestone 5 release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@953330 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/tags/2.0-M5/samples/contribution-implementation-java-calculator/README')
-rw-r--r-- | sca-java-2.x/tags/2.0-M5/samples/contribution-implementation-java-calculator/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sca-java-2.x/tags/2.0-M5/samples/contribution-implementation-java-calculator/README b/sca-java-2.x/tags/2.0-M5/samples/contribution-implementation-java-calculator/README new file mode 100644 index 0000000000..acf18ec8d9 --- /dev/null +++ b/sca-java-2.x/tags/2.0-M5/samples/contribution-implementation-java-calculator/README @@ -0,0 +1,25 @@ +Calculator Sample Contribution +============================== + +This sample implements a simple calculator using SCA components. + +The README in the <distribution-unpack-dir>/samples directory provides +general instructions about building and running samples. ( where +distribution-unpack-dir is the directory in which you unpacked the tuscany +binary distribution archive) Take a look there for instructions on how to launch +this sample contribution. + +Sample Overview +--------------- +The sample provides a single calculator service with a default SCA (java) +binding. The CalculatorClient exercises this interface by calling add, +subtract, multiply and divide operations. This results in messages passing to +the appropriate components in the composite across the local wires. + +You should see the following output from the run target. + +run: + [java] 3 + 2=5.0 + [java] 3 - 2=1.0 + [java] 3 * 2=6.0 + [java] 3 / 2=1.5 |