Package org.jboss.test.ejb3.jboss51xsd

Examples of org.jboss.test.ejb3.jboss51xsd.Echo.echo()


      serverFound();
     
      // Now just do a simple test of the EJBs - lookup and invoke a method
      Echo bean = (Echo) this.getInitialContext().lookup("JBAS-7231-BeanJNDINameFromJBossXml");
      String msg = "JBAS-7231 is now fixed!!";
      String returnedMessage = bean.echo(msg);
     
      assertEquals("Bean returned unexpected value", msg, returnedMessage);
     
   }
}
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.