Examples of AppOneEJB2xHome


Examples of org.jboss.test.deployment.jbas7760.appone.AppOneEJB2xHome

    * deterministic jmx name to depend on the EJB2.x deployment
    * @throws Exception
    */
   public void testDeploymentOfSameEjbJarNameInMultipleEar() throws Exception
   {
      AppOneEJB2xHome appOneHome = (AppOneEJB2xHome) this.getInitialContext().lookup("jbas-7760-appone-ejb");
      AppOneEJB2xRemote appOneRemote = (AppOneEJB2xRemote) PortableRemoteObject.narrow(appOneHome.create(), AppOneEJB2xRemote.class);
     
      // just test a simple invocation
      appOneRemote.doNothing();
     
      // do the same with the other app
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.