From 4b3149233be777a531417eb0ca6bafff0483fa1c Mon Sep 17 00:00:00 2001 From: kelvingoodson Date: Thu, 27 May 2010 12:19:53 +0000 Subject: Branch for 2.0 Milestone M5 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@948800 13f79535-47bb-0310-9956-ffa450edef68 --- .../binding-sca/contribution-calculator/README | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sca-java-2.x/branches/sca-java-2.0-M5/samples/binding-sca/contribution-calculator/README (limited to 'sca-java-2.x/branches/sca-java-2.0-M5/samples/binding-sca/contribution-calculator/README') diff --git a/sca-java-2.x/branches/sca-java-2.0-M5/samples/binding-sca/contribution-calculator/README b/sca-java-2.x/branches/sca-java-2.0-M5/samples/binding-sca/contribution-calculator/README new file mode 100644 index 0000000000..4777c5ad88 --- /dev/null +++ b/sca-java-2.x/branches/sca-java-2.0-M5/samples/binding-sca/contribution-calculator/README @@ -0,0 +1,26 @@ +Calculator Sample Contribution +============================== + +This sample contribution implements a simple calculator using SCA components. + +The README in the /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 + -- cgit v1.2.3