summaryrefslogtreecommitdiffstats
path: root/sandbox/samples/sca-features/binding-ws/calculator-contribution/README
diff options
context:
space:
mode:
authorfmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68>2010-09-20 13:18:21 +0000
committerfmoga <fmoga@13f79535-47bb-0310-9956-ffa450edef68>2010-09-20 13:18:21 +0000
commit40b0ea0607a5cce8002b5ee58858aeec7505c2b7 (patch)
tree39c5af4f7efce45344f322a49d09a4d11127e0f7 /sandbox/samples/sca-features/binding-ws/calculator-contribution/README
parent2d5098e03cf92aae5e44fd8b51bbf9409d8673c6 (diff)
Moved more samples.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998917 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/samples/sca-features/binding-ws/calculator-contribution/README')
-rw-r--r--sandbox/samples/sca-features/binding-ws/calculator-contribution/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/sandbox/samples/sca-features/binding-ws/calculator-contribution/README b/sandbox/samples/sca-features/binding-ws/calculator-contribution/README
new file mode 100644
index 0000000000..a1f34e0e8a
--- /dev/null
+++ b/sandbox/samples/sca-features/binding-ws/calculator-contribution/README
@@ -0,0 +1,25 @@
+Calculator Contribution Sample
+==============================
+
+This directory contains code which implements a simple calculator SCA contribution.
+
+The contribution can be run as a tuscany application using one of the tuscany launchers
+as described in the README in the root directory of the samples.
+
+Sample Overview
+---------------
+The sample provides a single calculator service with a default SCA (java)
+binding. The launcher 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 (depending on the launcher you use, this output
+may be surrounded by other output).
+
+run:
+ [java] 3 + 2=5.0
+ [java] 3 - 2=1.0
+ [java] 3 * 2=6.0
+ [java] 3 / 2=1.5
+
+