Basic HTML version of Foils prepared May 19 99

Foil 4 Temporary and Permanent Servlets

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


A temporary servlet is started when a request arrives and shut down after the response is generated.
A permanent servlet is loaded when the server is started and lives until the server is shut down.
  • This is useful when startup costs are high, such as a servlet that establishes a connection to a database.
  • Also useful for permanent server-side service, such as an RMI server.
  • Provides faster response to client requests when this is crucial.
Being temporary or permanent is part of the server configuration.



© 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