Showing posts with label How the servlet is loaded?. Show all posts
Showing posts with label How the servlet is loaded?. Show all posts

How the servlet is loaded?

How the servlet is loaded?

A servlet can be loaded when:
First request is made.
Server starts up (auto-load).
There is only a single instance which answers all requests concurrently. This saves memory and allows a Servlet to easily manage persistent data.
Administrator manually loads.