Servlet Event Listeners
It is desirable to be notified of container-managed lifecycle events, e.g.
- When a web application is initialized or removed from use
- For example, to start up a database or shut it down
- Keeping track of number of concurrent clients using a web
application
- etc
Mechanism for this is Servlet event listeners.