My problem is to pass information 
from a Service-client to a ClientRequestHandler and 
then from a ServerRequestHandler to a Service-provider not making use
of the MessageContext.

So i' am thinking to use the ThreadLocal pattern to constuct a
stateful singleton and in this way pass information from a Service to
the Handler and vice versa.

Now my question is: are a Service and an Handler or a chain of
Handlers different steps of the same Thread.

What Happens if for example i do the following:

Service service1=new Service();
Service service2=new Service();

Call call1=service1.creatCall();
Call call2=service2.creatCall();

call1.invoke(EndPointRef_1);
call2.invoke(EndPointRef_2);

Are the different Requests and the subsequent operations of an Handler
part of the same Thread ?

Thanks in advance for any help.

Reply via email to