org.ow2.easybeans.examples.statelessbean
Class ClientServletStateless

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.ow2.easybeans.examples.statelessbean.ClientServletStateless
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class ClientServletStateless
extends HttpServlet

Servlet's client for the stateless session bean.

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
ClientServletStateless()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Called by the server (via the service method) to allow a servlet to handle a GET request.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientServletStateless

public ClientServletStateless()
Method Detail

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws java.io.IOException,
                  ServletException
Called by the server (via the service method) to allow a servlet to handle a GET request.

Overrides:
doGet in class HttpServlet
Parameters:
request - an HttpServletRequest object that contains the request the client has made of the servlet
response - an HttpServletResponse object that contains the response the servlet sends to the client
Throws:
java.io.IOException - if an input or output error is detected when the servlet handles the GET request
ServletException - if the request for the GET could not be handled


Copyright © 2006-2009 OW2 Consortium. All Rights Reserved.