From 6865c59e74f19ed6057d03583944b47abd6e036e Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 26 Oct 2010 07:46:08 +0000 Subject: Create branch for next release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027394 13f79535-47bb-0310-9956-ffa450edef68 --- .../binding-ws/calculator-contribution/README | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sca-java-2.x/branches/2.0-Beta1/samples/learning-more/binding-ws/calculator-contribution/README (limited to 'sca-java-2.x/branches/2.0-Beta1/samples/learning-more/binding-ws/calculator-contribution/README') diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/learning-more/binding-ws/calculator-contribution/README b/sca-java-2.x/branches/2.0-Beta1/samples/learning-more/binding-ws/calculator-contribution/README new file mode 100644 index 0000000000..a1f34e0e8a --- /dev/null +++ b/sca-java-2.x/branches/2.0-Beta1/samples/learning-more/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 + + -- cgit v1.2.3