Package org.jboss.test.ejb3.jbas6161

Examples of org.jboss.test.ejb3.jbas6161.Greeter.sayHiTo()


      String earNames[] = { "jbas6161-A", "jbas6161-B" };
      for(String earName : earNames)
      {
         Greeter bean = lookup(earName + "/SimpleSessionBean/remote", Greeter.class);
         String name = new Date().toString();
         String actual = bean.sayHiTo(name);
         assertEquals("Hi " + name, actual);
      }
   }
  
   public void testServerFound() throws Exception
View Full Code Here


      String earNames[] = { "jbas6161-A", "jbas6161-B" };
      for(String earName : earNames)
      {
         Greeter bean = lookup(earName + "/SimpleSessionBean/remote", Greeter.class);
         String name = new Date().toString();
         String actual = bean.sayHiTo(name);
         assertEquals("Hi " + name, actual);
      }
   }
  
   public void testServerFound() throws Exception
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.