Q&A

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.

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.