Package org.ow2.easybeans.examples.statelessbean

Examples of org.ow2.easybeans.examples.statelessbean.StatelessRemote.helloWorld()


        StatelessRemote statelessBean = (StatelessRemote) initialContext
                .lookup("org.ow2.easybeans.examples.statelessbean.StatelessBean"
                        + "_" + StatelessRemote.class.getName() + "@Remote");

        System.out.println("Calling helloWorld method...");
        statelessBean.helloWorld();

        System.out.println("Add 1 + 2...");
        int resultAdd = statelessBean.add(1, 2);
        System.out.println("Sum = '" + resultAdd + "'.");
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.