users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Client initialization on server-side

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 18 Apr 2012 12:27:13 -0400

On 4/18/12 3:05 AM, Jan Algermissen wrote:
> Hi Bill,
>
> 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 authentication?
>

I guess what I mean is, you shouldn't have to inject a Client to use
one. Although injecting a ClientFactory could be made mandatory.


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com