+

Search Tips   |   Advanced Search

 

Disabling servlet pooling: Best practices and considerations

 

This topic provides usage examples of when you may want to disable servlet pooling. You may want to disable request and response pooling if your application is creating threads inside of the application or if you are concerned about the Web container reusing request and response objects.

 

Disabling 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


Modifying the default Web container configuration

 

Reference topic