Examples of hello()


Examples of org.jboss.test.cluster.invokerha.HAServiceRemote.hello()

   public void testHello()
      throws Exception
   {
      HAServiceRemote remote = (HAServiceRemote) getInitialContext().lookup("jmx/HAService");
      assertEquals("Hello", remote.hello());
   }

}
View Full Code Here

Examples of org.jboss.test.ejb3.servlet.Session30BusinessRemote.hello()

          
         InitialContext ctx = new InitialContext();
       
         Session30BusinessRemote remote = (Session30BusinessRemote)ctx.lookup("ejb/Session30");
        
         remote.hello();
         remote.goodbye();
        
         TestObject o = new TestObject();
         remote.access(o);
         o = remote.createTestObject();
View Full Code Here

Examples of org.jboss.test.hello.interfaces.Hello.hello()

      }
      catch(Exception e)
      {
         getLog().debug("Caught IOException as expected", e);
      }
      hello.hello("server exception error");
   }

   public void testClientSerializationErrorDoesntFailOver()
      throws Exception
   {
View Full Code Here

Examples of org.jboss.test.hello.interfaces.Hello.hello()

      }
      catch(Exception e)
      {
         getLog().debug("Caught IOException as expected", e);
      }
      hello.hello("client serialization error");
   }

   public void testServerSerializationErrorDoesntFailOver()
      throws Exception
   {
View Full Code Here

Examples of org.jboss.test.hello.interfaces.Hello.hello()

      }
      catch(Exception e)
      {
         getLog().debug("Caught IOException as expected", e);
      }
      hello.hello("server serialization error");
   }

   /**
    *   Test marshalling of custom data-holders.
    *
 
View Full Code Here

Examples of org.jboss.test.hello.interfaces.Hello.hello()

      long start = System.currentTimeMillis();
      HelloHome home = (HelloHome)getInitialContext().lookup(JNDI_NAME);
      Hello hello = home.create();
      for (int i = 0 ; i < getIterationCount(); i++)
      {
         hello.hello("testSpeed");
      }
      long end = System.currentTimeMillis();
      getLog().debug("Avg. time/call(ms):"+((end-start)/getIterationCount()));
   }
  
View Full Code Here

Examples of org.jboss.test.hello.interfaces.Hello.hello()

      throws Exception
   {
      InitialContext ctx = getInitialContext();
      HelloHome home = (HelloHome) ctx.lookup("helloworld/HelloHTTP");
      Hello hello = home.create();
      String reply = hello.hello("World");
      getLog().debug(reply);
      hello.remove();
   }

   /** Execute the loggedHello call to have the session create an entity and
View Full Code Here

Examples of org.jboss.test.hello.interfaces.Hello.hello()

      HelloHome home = (HelloHome)getInitialContext().lookup(JNDI_NAME);
      Hello hello = home.create();
      int count = getIterationCount();
      for (int i = 0 ; i < count; i++)
      {
         hello.hello("Argument#"+i);
      }
      long end = System.currentTimeMillis();
      getLog().debug("Avg. for "+count+" calls (ms):"+((end-start)/count));
   }
View Full Code Here

Examples of org.jboss.test.hello.interfaces.Hello.hello()

   public void testHello()
      throws Exception
   {
      HelloHome home = (HelloHome)getInitialContext().lookup(JNDI_NAME);
      Hello hello = home.create();
      getLog().debug(hello.hello("testHello"));
      hello.remove();
   }

   /**
    *   Lookup the bean, call it, remove it.
View Full Code Here

Examples of org.jboss.test.helloiiop.interfaces.Hello.hello()

   {
      HelloHome home = (HelloHome)PortableRemoteObject.narrow(
                               getInitialContext().lookup(HelloHome.JNDI_NAME),
                               HelloHome.class);
      Hello hello = home.create();
      getLog().debug(hello.hello("World"));
      hello.remove();
   }

   /**
    *   Test marshalling of custom data-holders.
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.