hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Using PoolingHttpClientConnectionManager in EJB container
Date Mon, 08 Dec 2014 13:00:22 GMT
On Mon, 2014-12-08 at 14:31 +0200, Guri Livne wrote:
> Just to make sure I understand:
> You are saying " effectively renders PoolingHttpClientConnectionManager's
> pooling capabilities almost useless."
> 
> Because EJBs themselves are in a pool and the threads accessing those are
> managed by the J2EE server (So no need to hold a pool per EJB instance), or
> do you mean that the PoolingHttpClientConnectionManager itself invokes
> threads and thus not suitable for EJB3.1 spec?
> 

Not, it does not spawn threads by itself. However, without concurrent
request execution PoolingHttpClientConnectionManager has no real
advantages over BasicHttpClientConnectionManager.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message