System.out.println("\nInvoking Ruby Implementation ... ");
System.out.println((new StringBuilder()).append("3 - 2 = ")
.append(calculatorService.subtract(3D, 2D)).toString());
System.out.println("\nInvoking over RMI Reference... ");
System.out.println((new StringBuilder()).append("3 * 2 = ")
.append(calculatorService.multiply(3D, 2D)).toString());
System.out.println("\nInvoking WebService Implementation ... ");
System.out.println((new StringBuilder()).append("3 / 2 = ").append(calculatorService.divide(3D, 2D))
.toString());
System.out.println("\nInvoking Scientific Calculator Composite Implementation ... ");
SciCalculatorService sciCalculator =