This figure shows the following life cycle for a servlet:
- Instantiation.
- Initialization with the
init() method.
- Implementation with the
service() method. There are multiple calls to this stage in the life cycle.
- Destruction with the
destroy() method.