Hi  , 

We have implemented Service layer that query H2 database and returns the 
resultset.  The service layer uses a opensource database clustering 
middleware  "Sequoia" (offering load balancing and transparent failover ) 
that also manages connections .

We have Created EJB's that invoke the underlying service layer and gets 
back the response .
 
With a normal EJB invocation , we get the response back from the service 
layer and hence decided to do a load testing in a Multi threaded 
environment .

Our Application has around 50  EJB service implementation/methods and We 
created 50 threads to invoke all these 50 service methods .

I have also introduced thread sleep(varying sleep time between 5 -15 
seconds) in the test class between test methods.

ejbClient.testValidate1();
Thread.sleep(randomSleep());
ejbClient.testValidate2();
Thread.sleep(randomSleep());
ejbClient.testValidate3();
Thread.sleep(randomSleep());
ejbClient.testValidate4();

Environment :

H2 Version - 1.3.176.jar

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to