summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/learning-more/implementation-script/contribution-calculator/README
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-09-23 08:36:03 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-09-23 08:36:03 +0000
commit75fe3279df849dabd02ae93e25e47cb73375630d (patch)
tree14f3eaa5dc66f835d90a44aeba0056822abaac0d /sca-java-2.x/trunk/samples/learning-more/implementation-script/contribution-calculator/README
parentb89094b83103bae4a2e4bfd1f4a2e51cbc9fdcf2 (diff)
TUSCANY-3677 move contributions into new learning-more folder
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1000351 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/learning-more/implementation-script/contribution-calculator/README')
-rw-r--r--sca-java-2.x/trunk/samples/learning-more/implementation-script/contribution-calculator/README26
1 files changed, 26 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/learning-more/implementation-script/contribution-calculator/README b/sca-java-2.x/trunk/samples/learning-more/implementation-script/contribution-calculator/README
new file mode 100644
index 0000000000..1e5bc9c584
--- /dev/null
+++ b/sca-java-2.x/trunk/samples/learning-more/implementation-script/contribution-calculator/README
@@ -0,0 +1,26 @@
+Calculator Sample Contribution
+==============================
+
+This sample contribution 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.
+
+Amongst the other output created by the launcher/contribution combination, you should see the following output ...
+
+run:
+ [java] 3 + 2=5.0
+ [java] 3 - 2=1.0
+ [java] 3 * 2=6.0
+ [java] 3 / 2=1.5
+