Hello,

a question about thread safety!

I am using Axis (1.4) integrated as a webapp in a tomcat engine.
The message service is deployed using the admin client and the
following deployment descriptor "deploy.wsdd":

 <deployment name="MyService" xmlns="http://xml.apache.org/axis/wsdd/";
             xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";
             xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance";>
   <service name="Service" provider="java:MSG" >
     <parameter name="className" value="demo.Service" />
     <parameter name="allowedMethods" value="process" />
   </service>
 </deployment>



The one (and only) public method in demo.Service is process, with the
following signature:
  
    public void process(org.apache.axis.message.SOAPEnvelope requestEnv,
            org.apache.axis.message.SOAPEnvelope responseEnv) throws Exception {
        
        ..
   }

Now this works fine, the method process is invoked as expected.

But: Is it possible that the method is
invoked concurrently? Does I have to take care on thread safety inside
the method "process"?


Thanks for any help,
Stefan
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to