testNames.add("Write call to entity (serialized)");
testResults.add(result);
nbTests++;
}
if (req.getParameter("callSF") != null) {
MySessionHome home;
float[] result;
home = (MySessionHome)ctx.lookup("StatefulSession");
result = callSession(home);
testNames.add("Call to stateful session (optimized)");
testResults.add(result);
nbTests++;
}
if (req.getParameter("callSL") != null) {
MySessionHome home;
float[] result;
home = (MySessionHome)ctx.lookup("StatelessSession");
result = callSession(home);
testNames.add("Call to stateless session (optimized)");