Someone on quora asked:
This will largely depend on the implementation of the servlet container. It will be called whenever the servlet container deallocates the servlet instance. The servlet spec does not specify when this should happen. The servlet instance may be active for the entire duration that the servlet container is up, or it may deallocate instances earlier for performance purposes
If you enjoyed my content for some reason, I'd love to hear from you! Here are some options:
- You can buy me a coffee!
- You can write a reply on your own site and submit the URL as a webmention via the form below.
- Or you can just contact me!