org.jboss.test.bench.servlet
Class EJBTester

java.lang.Object
  extended byorg.jboss.test.bench.servlet.EJBTester

public class EJBTester
extends java.lang.Object


Field Summary
 int depth
           
static int[] nbClients
           
 int nbTests
           
 
Constructor Summary
EJBTester(HttpServletRequest req)
           
 
Method Summary
 float[] callSession(MySessionHome (src)  home)
           
 java.lang.String getTestName(int i)
           
 float getTestResult(int i, int j)
           
 float[] readEntity(SimpleEntityHome (src)  home)
           
 void test()
           
 float[] testComplexCreateEntity(ComplexEntityHome (src)  home)
           
 float[] testSimpleCreateEntity(SimpleEntityHome (src)  home)
           
 float[] writeEntity(ComplexEntityHome (src)  home)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nbClients

public static final int[] nbClients

depth

public int depth

nbTests

public int nbTests
Constructor Detail

EJBTester

public EJBTester(HttpServletRequest req)
Method Detail

getTestName

public java.lang.String getTestName(int i)

getTestResult

public float getTestResult(int i,
                           int j)

test

public void test()

testSimpleCreateEntity

public float[] testSimpleCreateEntity(SimpleEntityHome (src)  home)
                               throws java.lang.Exception
Throws:
java.lang.Exception

testComplexCreateEntity

public float[] testComplexCreateEntity(ComplexEntityHome (src)  home)
                                throws java.lang.Exception
Throws:
java.lang.Exception

readEntity

public float[] readEntity(SimpleEntityHome (src)  home)
                   throws java.lang.Exception
Throws:
java.lang.Exception

writeEntity

public float[] writeEntity(ComplexEntityHome (src)  home)
                    throws java.lang.Exception
Throws:
java.lang.Exception

callSession

public float[] callSession(MySessionHome (src)  home)
                    throws java.lang.Exception
Throws:
java.lang.Exception