Package org.ow2.easybeans.mavenplugin.examples.calculator

Examples of org.ow2.easybeans.mavenplugin.examples.calculator.StatefulCalcRemote.result()


            HelloInterface hr = getHelloEJB(initialContext);

            System.out.println("Calling Calculator methods : x = " + INITIAL_CALC_VALUE + " + " + VALUE_TEST_ADD);
            calc.initial(INITIAL_CALC_VALUE);
            calc.add(VALUE_TEST_ADD);
            Integer x = calc.result();

            System.out.println("Calling HelloWorld method : sayHello(x)");
            String result = hr.sayHello(x.toString());

            System.out.println("Result : " + result);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.