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


1 A temporary servlet is started when a request arrives and shut down after the response is generated.
2 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.
3 Being temporary or permanent is part of the server configuration.

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