kodo.remote
Class PersistenceServerServlet
java.lang.Object
  
javax.servlet.GenericServlet
      
javax.servlet.http.HttpServlet
          
kodo.remote.PersistenceServerServlet
- All Implemented Interfaces: 
 - Serializable, Servlet, ServletConfig
 
public class PersistenceServerServlet
- extends HttpServlet
 
Servlet that creates a server-side factory and listens for requests from
 remote brokers configured with the HTTP remote transport.
 The factory can be configured in several ways:
 
 - Use an existing factory bound in JNDI by specifying the JNDI location
 in the 
kodo.jndi servlet config property. 
 - Specify the resource name of a configuration file in the
 the 
kodo.properties servlet config property.
  - Specify individual configuration properties in the servlet config
 properties.  These individual properties override the same properties
 specified in the properties file if one is given.
 
 
- See Also:
 - Serialized Form
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PersistenceServerServlet
public PersistenceServerServlet()
init
public void init(ServletConfig config)
          throws ServletException
- Specified by:
 init in interface Servlet- Overrides:
 init in class GenericServlet
 
- Throws:
 ServletException
 
getBrokerFactory
protected BrokerFactory getBrokerFactory(ServletConfig config)
                                  throws ServletException
- Override this method to customize how the servlet's persistence
 factory is created and configured.
- Throws:
 ServletException
 
 
doGet
public void doGet(HttpServletRequest req,
                  HttpServletResponse resp)
           throws IOException,
                  ServletException
- Overrides:
 doGet in class HttpServlet
 
- Throws:
 IOException
ServletException
 
doPost
public void doPost(HttpServletRequest req,
                   HttpServletResponse resp)
            throws IOException,
                   ServletException
- Overrides:
 doPost in class HttpServlet
 
- Throws:
 IOException
ServletException
 
destroy
public void destroy()
- Specified by:
 destroy in interface Servlet- Overrides:
 destroy in class GenericServlet
 
 
Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.