Jan, what I mean is that there has to be no restrictions in the way one can instantiate a client withing a server application code.
On Apr 19, 2012, at 11:17 AM, Sergey Beryozkin wrote:
On 18/04/12 17:27, Bill Burke wrote:
On 4/18/12 3:05 AM, Jan Algermissen wrote:
On Apr 17, 2012, at 6:07 PM, Bill Burke wrote:
Container management of Client should be optional. There's a lot of
issues involved, especially when you start dealing with HTTPS,
trust-stores, authentication, etc. that may be endpoint specific.
Can you explain how that is any different from DB connection
I guess what I mean is, you shouldn't have to inject a Client to use
Although injecting a ClientFactory could be made mandatory.
I think that the per-request initialization should be allowed.
Can you explain the rationale behind your replies? (Not to say I disagree -
merely try to understand)
Maybe we are missing a differentiation here between HTTP connector and User
The User Agent, by its very nature being a direct implementation of client
side expectations, is indeed no something that makes sense to be provided by
the container. The HTTP connector however is, because it is (much like
database connections) application agnostic.
Talend Community Coders
[jsr339-experts] Re: Client initialization on server-side