What is Temporary Servlet ? (a) Servlet that is destroyed at run time (b) Servlet that exists for a session (c) Servlet that is started and stopped for each request

(c)
EXPLANATION:
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 serverside 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.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions