axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject Re: is ServiceClient thread-safe?
Date Fri, 23 May 2008 08:32:09 GMT
ServiceClient is not thread safe. I suggest you to share the  
configuration context among several ServiceClient instances instead,  
where each ServiceClient is private to each thread. Instantiating  
ServiceClient objects is not very expensive -- ConfigurationContext  
objects are.

Michele

On 23 May 2008, at 00:15, Alexis Midon wrote:

> Hi all,
>
> I'd like to know if I can share one ServiceClient instance among  
> several threads.
>
> Thanks,
>
> Alexis


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message