% out.print(""); %> <%@ page import=" org.apache.openejb.BeanType, org.apache.openejb.BeanContext, org.apache.openejb.loader.SystemInstance, org.apache.openejb.spi.ContainerSystem, javax.naming.Context, javax.naming.InitialContext "%> <%@ page import="javax.servlet.http.HttpServletRequest" %> <%@ page import="javax.servlet.http.HttpSession" %> <%@ page import="java.io.IOException" %> <%@ page import="java.util.HashMap" %> <%@ page import="java.util.Map" %> <%@ page import="java.util.List" %> <%@ page import="java.util.Properties" %> <%@ page import="java.lang.reflect.Field" %> <%@ page import="java.lang.reflect.Method" %>
No EJB specified
"); } else { printEjb(ejb,jndiName,contextID,out, session); } } catch (Exception e){ out.println("FAIL:
");
out.print(e.getMessage() + "
No such EJB: " + id + "
"); return; } String type = null; switch (ejb.getComponentType()) { case CMP_ENTITY: type = "EntityBean with Container-Managed Persistence"; break; case BMP_ENTITY: type = "EntityBean with Bean-Managed Persistence"; break; case STATEFUL: type = "Stateful SessionBean"; break; case STATELESS: type = "Stateless SessionBean"; break; case SINGLETON: type = "Singleton SessionBean"; break; case MANAGED: type = "Managed SessionBean"; break; default: type = "Unkown Bean Type"; break; } out.print("