users@glassfish.java.net

Re: Using an HTTP Client from within Java EE application

From: Paulo Pires <pjpires_at_gmail.com>
Date: Thu, 26 Sep 2013 09:12:21 +0100

Why don't use JAX-RS 2.0 client API in an EJB or something like that?


On Tue, Sep 24, 2013 at 4:01 PM, Jan Algermissen <jan.algermissen_at_nordsc.com
> wrote:

> Hi,
>
> sorry, I guess I am not the first one to ask this, but searching really
> does not turn up anything useful for me so far.
>
> In the application In develop, I need to make outgoing HTTP requests.
> Given I should neither manage HTTP connections nor associated threads
> myself in an EE container, I wonder
>
> - whether Glassfish maybe comes with the appropriate JCA connector to do
> this already?
>
> - what other's do (besides ignoring the spec and simply firing up an
> Apache HTTP client withit's own thread pool)?
>
>
> Jan




-- 
Paulo Pires