Q1: | Which transaction attribute will always be executed in the context of a new transaction? |
A1: | RequiresNew. |
Q2: | Do entity beans support bean-managed transactions? |
A2: | No. |
Q3: | What element in the deployment descriptor specifies whether it is a bean-managed transaction or a container-managed transaction? |
A3: | Transaction type. |
Q4: | What optional interface can a stateful session bean implement so that it can be notified by the container about the beginning and the end of a transaction? |
A4: | The javax.ejb.SessionSynchronization interface. |