dev@jax-ws.java.net

Re: Thread safety of the JAX-WS API

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 03 Oct 2006 23:24:37 +0200

Hi,

its javadoc from Pipe class (not sure about Tubes).

 * {_at_link Pipe}line is expensive to set up, so once it's created it will
be reused.
 * A {_at_link Pipe}line is not reentrant; one pipeline is used to process
one request/response
 * at at time. The same pipeline instance may serve request/response for
different threads,
 * if one comes after another and they don't overlap.

WBR,
Alexey.

Roberto Chinnici wrote:
> Kohsuke Kawaguchi wrote:
>>
>> Does the API say something about the thread safety of various JAX-WS
>> objects?
>>
>> See http://forums.java.net/jive/thread.jspa?threadID=18756
>
> No, it doesn't. So no thread safety should be assumed.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>