summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/embed/samples/binding-jsonrpc/contribution-calculator/README
blob: 1e5bc9c584d5a921c8289315cdcf1e2b8469e8f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Calculator Sample Contribution
==============================

This sample contribution 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.

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