Question - What is the life cycle contract that a servlet engine must conform to?
Answer -
The life cycle contract that a servlet engine must conform to is as follows:
- Create the servlet and initialize it.
- Manage none or more calls for service from clients.
- Destroy the servlet and then the garbage collects it.