Synchronization Premitives on EJB Methods


Should synchronization primitives be used on overrided bean methods?

✍: Arjun Gund

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.

2009-11-05, 6311👍, 0💬