Package org.jboss.arquillian.container.jsr88.remote_1_2

Examples of org.jboss.arquillian.container.jsr88.remote_1_2.Greeter


   }

   @Test
   public void testSequentialUsage()
   {
      JSR88ModuleTypeMapper mapper = getMapper();
      Archive<?> rar = ShrinkWrap.create(ResourceAdapterArchive.class ,"test.rar");
      assertSame(ModuleType.RAR, mapper.getModuleType(rar));
      Archive<?> war = ShrinkWrap.create(WebArchive.class ,"test.war");
      assertSame(ModuleType.WAR, mapper.getModuleType(war));
   }
View Full Code Here


      assertSame(ModuleType.WAR, mapper.getModuleType(war));
   }

   private JSR88ModuleTypeMapper getMapper()
   {
      return new JSR88ModuleTypeMapper();
   }
View Full Code Here

      deploySessionEjb(GreeterBean.class);
   }
  
   private void exercise(GreeterHome home) throws RemoteException, CreateException
   {
      Greeter bean = home.create();
      String name = new Date().toString();
      String actual = bean.sayHi(name);
      assertEquals("Hi " + name, actual);
   }
View Full Code Here

   public void testBeanCalls() throws Exception
   {
      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);
      }
   }
View Full Code Here

   public void testBeanCalls() throws Exception
   {
      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);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.container.jsr88.remote_1_2.Greeter

Copyright © 2018 www.massapicom. 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.