Using PoolingHttpClientConnectionManager in an EJB Container

  • We want to use the HttpClient inside the Glassfish 3.1 Open EJB container original edition.
  • In the HttpClient documentation we see the following line regarding BasicHttpClientConnectionManager: "This connection manager must be used inside an EJB container."
  • There is no such line in the PoolingHttpClientConnectionManager documentation.
  • Can PoolingHttpClientConnectionManager be used in an EJB container?
  • If not, can you explain why?
+3


source to share


1 answer


You can, but explicit flow control when running inside an EJB container is prohibited by the EJB 3.1 spec, which effectively makes pooling PoolingHttpClientConnectionManager easier.



+2


source







All Articles