axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: [Axis2] Stub / Call
Date Wed, 23 Nov 2005 15:06:53 GMT
Does JAX-WS impose any thread safety stuff on stub? if not i guess we
don't have to.

thanks,
dims

On 11/23/05, Glen Daniels <glen@thoughtcraft.com> wrote:
> Davanum Srinivas wrote:
> > we'd have to see some proposals on how to modify the current code
> > generation and runtime to implement that :) If we go this route, We
> > also have another fundamental issue, same Stub instance is supposed to
> > be usable across multiple threads. (First of all, we need to review
> > the code and make sure that this is still true in current impl). We
> > also need to figure out how to "inject the call" such that this
> > premise still holds good.
>
> Who said the same Stub needs to be thread-safe?  I don't think that's
> true at all.  We went through this in Axis1, and ended up deciding that
> Stubs were per-thread after a long and problematic attempt to make them
> sharable.  I don't think we should put effort into making them thread-safe.
>
> --Glen
>


--
Davanum Srinivas : http://wso2.com/blogs/

Mime
View raw message