diff options
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java b/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java index 53c793806e..b0921aff75 100644 --- a/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java +++ b/sca-java-2.x/trunk/samples/calculator/src/main/java/calculator/CalculatorClient.java @@ -31,8 +31,9 @@ public class CalculatorClient { Node node = NodeFactory.newInstance().createNode((String)null, new String[] {"target/classes"}).start(); + System.out.println("Retrieving Calculator Service From Node"); CalculatorService calculatorService = node.getService(CalculatorService.class, "CalculatorServiceComponent"); - + System.out.println("Calling Calculator Operations"); // Calculate System.out.println("3 + 2=" + calculatorService.add(3, 2)); System.out.println("3 - 2=" + calculatorService.subtract(3, 2)); |