On Wed, 2010-09-22 at 18:05 +0300, George Georgieff wrote: > For that matter is it a good practice to set a HttpClient with a > ThreadSafeClientConnManager in the ServletContext of a webapp, and to reuse > the HttpClient ? > >
Absolutely. One should also use a ServletContextListener to shut down the connection manager associated with the HttpClient instance upon the webapp shutdown. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
