Package org.apache.geronimo.test.singleton.ejb

Examples of org.apache.geronimo.test.singleton.ejb.SingletonRemote.sayHi()


       
        InitialContext ctx = new InitialContext(p);
       
  SingletonRemote bean = (SingletonRemote)ctx.lookup("/SingletonBeanRemote");
 
  String response = bean.sayHi("foo bar");

  System.out.println(response);

  assertEquals("Singleton Hello foo bar", response);
    }
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.