bean.noop(new ReferenceTest(), true);
ReturnData data = bean.getData();
StatelessSessionLocalHome localHome = (StatelessSessionLocalHome) enc.lookup("ejb/local/OptimizedEJB");
StatelessSessionLocal localBean = localHome.create();
localBean.noop(new ReferenceTest(), true);
}
catch (Exception e)
{
throw new ServletException("Failed to call OptimizedEJB through remote and local interfaces", e);
}