com.caucho.ejb
Class EJBServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by com.caucho.ejb.EJBServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig
Direct Known Subclasses:
EJBServlet, EJBServlet, EJBServlet, HessianEJBServlet

public class EJBServlet
extends GenericServlet

Servlet for serving EJBs from the Resin web server.

See Also:
Serialized Form

Constructor Summary
EJBServlet()
           
 
Method Summary
 void destroy()
          Called when the servlet (and the application) shuts down.
protected  java.lang.String getDefaultProtocolContainer()
           
 void init()
          Initialize the servlet
 void service(ServletRequest request, ServletResponse response)
          Execute a request.
 void setDebug(boolean debug)
          Set true for a debug.
 void setURLPrefix(java.lang.String prefix)
           
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBServlet

public EJBServlet()
Method Detail

getDefaultProtocolContainer

protected java.lang.String getDefaultProtocolContainer()

setDebug

public void setDebug(boolean debug)
Set true for a debug.


setURLPrefix

public void setURLPrefix(java.lang.String prefix)

init

public void init()
          throws ServletException
Initialize the servlet

Overrides:
init in class GenericServlet
Throws:
ServletException

service

public void service(ServletRequest request,
                    ServletResponse response)
             throws java.io.IOException,
                    ServletException
Execute a request. The path-info of the request selects the bean. Once the bean's selected, it will be applied.

Parameters:
request - request information. Normally servlets will cast this to HttpServletRequest
response - response information. Normally servlets will cast this to HttpServletRequest
Throws:
java.io.IOException
ServletException

destroy

public void destroy()
Description copied from class: GenericServlet
Called when the servlet (and the application) shuts down.

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet