node = nodeLauncher.createNodeFromURL("http://localhost:9990/node-config/NodeA");
node.start();
// get a reference to the calculator component
SCAClient client = (SCAClient)node;
CalculatorService calculatorService =
client.getService(CalculatorService.class, "CalculatorServiceComponentA");
// Calculate
System.out.println("3 + 2=" + calculatorService.add(3, 2));
System.out.println("3 - 2=" + calculatorService.subtract(3, 2));
System.out.println("3 * 2=" + calculatorService.multiply(3, 2));