+

Search Tips   |   Advanced Search

Disable servlet pooling: Best practices and considerations


This page provides usage examples of when you may want to disable servlet pooling. You may want to disable request and response pooling if the application is creating threads inside of the application or if we 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.



 

Related tasks


Modify the default Web container configuration