Hi,
You are 100% right. As per the EJB spec 'synchronized' shd not be used,and the reason is very simple,as you must be knowing that 'synchronized' keyword is used to avoid sharing conflict of a common resource in multi-threaded env.
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.
hope that this will help you.
Cheers,
Sunil Dixit
[ July 05, 2007: Message edited by: Sunil Dixit ]