Look at the EJB Specification 2.1, chapter 25.1.2 Programming Restrictions
on page 562ff. It prohibits usage of threading. Use transactions (JTA) to
ensure data consistency.
Kind regards,
Daniel
> Hello, I was trying to find some information regarding Concurrency in
> J2EE. In my application I simply put a lock on the session and the
> accessor/mutator methods inside the bean. Is this the proper way of
> ensuring data consistency in a large scale web site. Any opinions or
> links would be appreciated.
> thanks