Examples of MyStatelessLocal


Examples of org.jboss.ejb3.test.proxy.impl.common.ejb.slsb.MyStatelessLocal

      Assert.assertTrue("Local jndi name lookup at " + localJNDIName + " returned unexpected object " + obj,
            obj instanceof MyStatelessLocal);

      String name = "ejbthree1886";
      String expectedMessage = "Hi " + name;
      MyStatelessLocal localBean = (MyStatelessLocal) obj;

      String message = localBean.sayHi(name);
      Assert.assertEquals("Unexpected greeting message: " + message + " from local stateless bean", message,
            expectedMessage);

      // now lookup remote and invoke on it
      String remoteJNDIName = smd.getJndiName();
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.