Package org.jboss.test.deployment.jbas7760.apptwo

Examples of org.jboss.test.deployment.jbas7760.apptwo.AppTwoEJB2xHome.create()


    * @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


      // just test a simple invocation
      appOneRemote.doNothing();
     
      // do the same with the other app
      AppTwoEJB2xHome appTwoHome = (AppTwoEJB2xHome) this.getInitialContext().lookup("jbas-7760-apptwo-ejb");
      AppTwoEJB2xRemote appTwoRemote = (AppTwoEJB2xRemote) PortableRemoteObject.narrow(appTwoHome.create(), AppTwoEJB2xRemote.class);
     
      // just test a simple invocation
      appTwoRemote.doNothing();
     
     
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.