example.cmp.transaction
Class RegistrationServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--example.cmp.transaction.RegistrationServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RegistrationServlet
extends javax.servlet.http.HttpServlet

Manages the registration process by invoking business logic and dispatching the results to Resin XTP (Serif) views.

See Also:
Serialized Form

Field Summary
private  CourseHome courseHome
           
static java.lang.String NEXT_PAGE
           
static java.lang.String REGISTRATION_SESSION_NAME
           
private  RegistrationSessionHome registrationSessionHome
           
 
Fields inherited from class javax.servlet.GenericServlet
config
 
Constructor Summary
RegistrationServlet()
           
 
Method Summary
 void init()
          resolves all required Home Interfaces
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, encodeBase64, generateETag, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

registrationSessionHome

private RegistrationSessionHome registrationSessionHome

courseHome

private CourseHome courseHome

NEXT_PAGE

public static final java.lang.String NEXT_PAGE

REGISTRATION_SESSION_NAME

public static final java.lang.String REGISTRATION_SESSION_NAME
Constructor Detail

RegistrationServlet

public RegistrationServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
resolves all required Home Interfaces
Overrides:
init in class javax.servlet.GenericServlet

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws java.io.IOException,
                    javax.servlet.ServletException
Overrides:
service in class javax.servlet.http.HttpServlet