Enterprise Java Development@TOPIC@
Stateful session EJBs using container-managed transactions can receive transaction events
EJBs using bean-managed transactions are in control of their transaction and do not need events
Implement a javax.ejb.SessionSynchronization
callback interface or use annotations
Annotate methods -- no more than once per annotation
afterBegin()/@AfterBegin
Executed within the transaction, prior to first business method
beforeCompletion()/@BeforeCompletion
Executed after last business method complete -- chance to rollback
afterCompletions(boolean)/@AfterCompletion
Executed after transaction complete with a boolean complete
providing status