+

Search Tips   |   Advanced Search

Disable servlet pooling: Best practices and considerations

We might want to disable request and response pooling if the application is creating threads inside of the application or if you are concerned about the web container reusing request and response objects.


Disable request and response pooling

It is important to note that disabling pooling prevents the web container from recycling the servlet request and servlet response objects for subsequent requests. This creates additional overhead as a result of an increase in request and response object creation and the subsequent garbage collection of these discarded objects.

Reference topic