Basic HTML version of Foils prepared May 19 99

Foil 6 The Servlet Life Cycle

From Overview of JDBC: Java Database Connectivity Java Servlets -- Spring Semester 1999. by Nancy McCracken


1 On the web server host machine, servlets run under the same process as the web server.
2 The web server is responsible for creating an instance of the servlet and invoking standard methods from the interface (in a similar way to a browser invoking methods of an applet). There are three main methods:
  • init ( )
  • service ( )
  • destroy ( )
3 and two helper methods:
  • getServletConfig ( )
  • getServletInfo ( )

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Mon Jul 5 1999