org.objectweb.jass.examples.travelagency.servlets
Class ReservationServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.objectweb.jass.examples.travelagency.servlets.ReservationServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ReservationServlet
extends javax.servlet.http.HttpServlet

Creates the application web interface by invoking the corresponding EJBs (TravelAgencyEJB, AirlineEJB and HotelEJB).

Author:
fran Date: Feb 16, 2004 org.objectweb.jass.examples.travelagency.servletsReservationServlet.java
See Also:
Serialized Form

Constructor Summary
ReservationServlet()
           
 
Method Summary
 void destroy()
          Executed on servlet destruction.
 void init()
          Invokes methods to obtain the required EJBs references (TravelAgencyEJB, AirlineEJB and HotelEJB).
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Servlet main method.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReservationServlet

public ReservationServlet()
Method Detail

init

public void init()
Invokes methods to obtain the required EJBs references (TravelAgencyEJB, AirlineEJB and HotelEJB).


destroy

public void destroy()
Executed on servlet destruction.


service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws java.io.IOException
Servlet main method.

Throws:
java.io.IOException