diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-23 11:57:07 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-23 11:57:07 +0000 |
commit | 57b9746940b7a688fcdbd83024edb2bbde00cd37 (patch) | |
tree | 4d644f51f6a30ad456fcee11e13ac7f82fced75c /sca-java-2.x/trunk/samples/implementation-java/contribution-calculator/README | |
parent | 988eec8aa312bd4ce2466f9ecaa31bbc844d06a0 (diff) |
Re-organize implementation-java sample contribution into sub-directory
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988094 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/implementation-java/contribution-calculator/README')
-rw-r--r-- | sca-java-2.x/trunk/samples/implementation-java/contribution-calculator/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/implementation-java/contribution-calculator/README b/sca-java-2.x/trunk/samples/implementation-java/contribution-calculator/README new file mode 100644 index 0000000000..9e1ff828ee --- /dev/null +++ b/sca-java-2.x/trunk/samples/implementation-java/contribution-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
|