cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: are client proxies slow?
Date Fri, 21 Oct 2011 11:32:06 GMT
i have a case where it uses different credentials and it is the case i'm a
bit embarassed with.

- Romain


2011/10/21 Christian Schneider <chris@die-schneider.net>

> It is quite uncommong that the client is not thread safe.
> So the normal way is to create a proxy for the generated interface and
> inject it into the user code.
>
> So the client generation happens only one time.
>
> In the case of ws security the client is only not thread safe if you need
> different credentials. Is that the case for you?
>
> Christian
>
>
> Am 21.10.2011 11:45, schrieb Romain Manni-Bucau:
>
>  Hi,
>>
>> is there any tips on the way to use cxf clients?
>>
>> what i mean is it seems with big webservices (in size/number of depending
>> classes)  creating a client is (very) long. I saw on the cxf website some
>> recommandations about pooling client side etc but is it a workaround or is
>> it a common use case?
>>
>> Note: in my case the client is not thread safe since we are using wss (
>> http://cxf.apache.org/faq.**html#FAQ-**AreJAXWSclientproxiesthreadsaf**
>> e%3F<http://cxf.apache.org/faq.html#FAQ-AreJAXWSclientproxiesthreadsafe%3F>
>> ).
>>
>> What i wonder is couldn't cxf be enhanced to manage a cache/pool itself?
>>
>> - Romain
>>
>>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> Talend Application Integration Division http://www.talend.com
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message