Package org.jboss.test.perf.interfaces

Examples of org.jboss.test.perf.interfaces.Entity2Home.create()


      Object obj = getInitialContext().lookup(jndiName);
      obj = PortableRemoteObject.narrow(obj, Entity2Home.class);
      Entity2Home home = (Entity2Home) obj;
      getLog().debug("Creating "+max+" Entity2 beans");
      for(int n = 0; n < max; n ++)
         home.create(n, "String"+n, new Double(n), n);
   }
   private void removeEntity2Beans(int max) throws Exception
   {
      String jndiName = isSecure ? "secure/perf/Entity2" : "perfEntity2";
      Object obj = getInitialContext().lookup(jndiName);
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.