The server calls destroy() to indicate that the filter is being taken out of service. The filter lifecycle is now very similar to the servlet lifecycle — a change recently made in the Servlet API 2.3 ...