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