I am deploying a POJO webservice using Axis2 and Java2Wsdl, etc...   Its
all working nicely, but in developing the java code of my webservice I
had some questions about HOW internally Axis works so that I can be sure
of some possible issues that may arise.
 
Does Axis create a separate thread for each webservice call?  I am
assuming yes at this point.
 
If so, then, in the webservice any data structure that is accessed by
these threads must be thread safe.  Right?
 
So, for example, if I had a HashMap that gets populated, read, and
deleted by webservice calls, I need to use the concurrent libraries
version of this HashMap.  Right?   Otherwise there could be contention
issues.
 
I am assuming the Axis framework does not provide ANY kind of protection
against concurrency issues.
 
Are there any other issues I should keep in mind in developing the
webservice due to the architecture of Axis?
 
Thanks...
 

Reply via email to