From aff873c1e214b085c8b8381ff971c17f4b7222b9 Mon Sep 17 00:00:00 2001 From: fmoga Date: Mon, 20 Sep 2010 13:34:52 +0000 Subject: Moved more samples. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998920 13f79535-47bb-0310-9956-ffa450edef68 --- .../calculator-contribution/README | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sandbox/samples/sca-features/implementation-java/calculator-contribution/README (limited to 'sandbox/samples/sca-features/implementation-java/calculator-contribution/README') diff --git a/sandbox/samples/sca-features/implementation-java/calculator-contribution/README b/sandbox/samples/sca-features/implementation-java/calculator-contribution/README new file mode 100644 index 0000000000..9e1ff828ee --- /dev/null +++ b/sandbox/samples/sca-features/implementation-java/calculator-contribution/README @@ -0,0 +1,25 @@ +Calculator Sample Contribution +============================== + +This sample 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. + +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 -- cgit v1.2.3