This content has been marked as final.
Show 2 replies
-
1. Re: synchronisation issue in session ejb
ibutcher Aug 5, 2002 7:22 PM (in response to reckless)EJB methods are all synchronized (at least as far as the developer is concerned) by the container. The specs state that you must not sychronize your methods, leave it to the container.
-
2. Re: synchronisation issue in session ejb
nhebert Aug 6, 2002 6:52 AM (in response to reckless)Pratap,
There is no need to synchronise EJB methods since as
per the EJB spec, they are garunteed to be
thread-safe. The EJB container ensures that only *one*
thread of execution is active in a EJBean instance
at any one time. Thats is job.
Cheers,
Noel.