Examples of invokeCall()


Examples of org.jboss.test.cluster.ejb2.crossserver.CalledRemote.invokeCall()

      env1.setProperty(Context.PROVIDER_URL, urls[0]);
      InitialContext ctx = new InitialContext(env1);
     
      CalledHome home = (CalledHome) ctx.lookup("cluster.ejb.CalledHome");
      CalledRemote bean = home.create();
      VMID[] ids = bean.invokeCall(urls[1], "cluster.ejb.CalleeHome");
      log.info("VMID[0] = "+ids[0]);
      log.info("VMID[1] = "+ids[1]);
      assertTrue("VMID[0] != VMID[1]", ids[0].equals(ids[1]) == false);
      bean.remove();
      log.info("done");
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.