Package org.jboss.test.bench.interfaces

Examples of org.jboss.test.bench.interfaces.ComplexEntityHome


        testNames.add("Simple Entity Bean creation (serialized)");
        testResults.add(result);
        nbTests++;
      }
      if (req.getParameter("createComplexEntity") != null) {
        ComplexEntityHome home;
        float[] result;
       
        home = (ComplexEntityHome)ctx.lookup("ComplexEntity");
        result = testComplexCreateEntity(home);
        testNames.add("Complex Entity Bean creation (optimized)");
        testResults.add(result);
        nbTests++;
       
        home = (ComplexEntityHome)ctx.lookup("NonOptComplexEntity");
        result = testComplexCreateEntity(home);
        testNames.add("Complex Entity Bean creation (serialized)");
        testResults.add(result);
        nbTests++;
      }
      if (req.getParameter("readEntity") != null) {
        SimpleEntityHome home;
        float[] result;
       
        home = (SimpleEntityHome)ctx.lookup("SimpleEntity");
        result = readEntity(home);
        testNames.add("Read-only call on an entity bean (optimized)");
        testResults.add(result);
        nbTests++;
       
        home = (SimpleEntityHome)ctx.lookup("NonOptSimpleEntity");
        result = readEntity(home);
        testNames.add("Read-only call on an entity bean (serialized)");
        testResults.add(result);
        nbTests++;
      }
      if (req.getParameter("writeEntity") != null) {
        ComplexEntityHome home;
        float[] result;
       
        home = (ComplexEntityHome)ctx.lookup("ComplexEntity");
        result = writeEntity(home);
        testNames.add("Write call to entity (optimized)");
View Full Code Here

TOP

Related Classes of org.jboss.test.bench.interfaces.ComplexEntityHome

Copyright © 2018 www.massapicom. 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.