I am a newbie for Java e. I am surprised that Java EE application layer has some common deadlock cases, resulting in Java Synchronization primitive - synchronized keywords can be used. If so, can you give examples?
By EJB 3.1 Speech, Chapter 21.2.2. Programming restriction:
A bean-managed concurrency is a beacon of a single session, except that an enterprise bean does not use thread synchronization primitives to synchronize execution of multiple instances needed.
And the logic is also interesting:
The synchronization will not work if the examples of Enterprise Bean in the EJB container were distributed to many JVMs.
Comments
Post a Comment