java - JAX-WS clients non-thread safe? -
"official jax-ws answer: no. according jax-ws spec, client proxies not thread safe. write portable code, should treat them non-thread safe , synchronize access or use pool of instances or similar"
what means ?
i need create pool of proxies if have these type of clients in webapp.
until instantiated clients each request , myself did not had problem colleague of mine had stuck threads in logs...
we searched , found above answer...
how use web service clients in applications ? (metro)
there best practices using them ?
thank !
Comments
Post a Comment