Hi ,

 Does Synchronization is taken care by Tomcat itself when i call a static
method from a thread...(should i use synchronized keyword or will it be
taken care by Tomcat Container).

is the below couple of statements right and applicable to tomcat???
And J2EE application are multithread,so its container responsibilities to
handle all these stuff for user.
Even if you use 'synchronized' keyowrd in J2EE application than you are
trying to make your container life tuff ....which you shd not be the case.
Conatiner will do better handling of common resource,so we shd not use
'synchronized' keyword.



Regards,
Thangavel Sankaranarayanan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to