Friday, March 13, 2009

Should synchronization primitives be used on bean methods (EJB)

Question :Should synchronization primitives be used on bean methods? (EJB)
Answer :No. The EJB specification specifically states that the enterprise bean is
not allowed to use thread primitives. The container is responsible for
managing concurrent access to beans at runtime

No comments: