You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by kwirirai <kw...@designat7.co.zw> on 2004/02/09 18:42:41 UTC

Servlet thread safety in omcat

Hi All
I am developing an application that uses JavaMail.What I am concered is 
the issue of thread safety,and efficiency.My question is do I need to 
employ synchronized blocks in my Servlet code or is there another way to 
implement thread safety.I have been experimenting with the application 
and I have seen that the data is actualy mixing up.I realy need to now 
how Tomcat handles request and issues those request ,this is in 
connection with threading. I have thought about the single thread model 
 in my servlets but I think this is an inefficient method to use.

Thanks
Kwiri



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org