Package org.jboss.test.cluster.ejb2.basic.interfaces

Examples of org.jboss.test.cluster.ejb2.basic.interfaces.StatelessSessionHome.create()


         tx = (UserTransaction)ctx.lookup("UserTransaction");
         tx.begin();
         try
         {
            UserTransactionStickyHome home = (UserTransactionStickyHome)ctx.lookup(jndiName);
            UserTransactionStickyRemote bean = home.create();
            for (int j = 1; j <= numCallsPerTx; j++)
            {
               String origin = "tx" + i + "-c" + j;           
               log(origin + " " + bean.amISticky());
            }
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.