Examples of EJBRemote


Examples of org.jboss.test.ws.jaxws.samples.serviceref.EJBRemote

   {     
      // JAXWS <service-ref> is only supported in EE5
      if (isTargetJBoss5())
      {
         InitialContext iniCtx = getInitialContext();
         EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/EJBClient/remote");

         String helloWorld = "Hello World!";
         Object retObj = ejbRemote.echo(helloWorld);
         assertEquals(helloWorld, retObj);
      }
   }
View Full Code Here

Examples of org.jboss.test.ws.jaxws.samples.serviceref.EJBRemote

   }

   public void testEJBClient() throws Exception
   {     
      InitialContext iniCtx = getInitialContext();
      EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/EJBClient/remote");

      String helloWorld = "Hello World!";
      Object retObj = ejbRemote.echo(helloWorld);
      assertEquals(helloWorld, retObj);
   }
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.