April 05
Prof. Ismael H. F. Santos -  ismael@tecgraf.puc-rio.br                                                          2
Declarative Transaction Management
nMost popular transaction management option
nBuilt on same abstraction as programmatic transaction management
nDeclarative transaction management for any POJO, without EJB: even without JTA (single database)
nMore flexible than EJB CMT
nDeclarative rollback rules: roll back on MyCheckedException
nNon-invasive: Minimizes dependence on the container
nNo more passing around EJBContext
n
n
We’ll see an example of rollback rules shortly