Transactional components like EJB components don't have commit or rollback methods, nor do they register what they've done with the transactionmonitor.
In Part 1, we introduced the concept of a transaction processing monitor (TPM), a program that coordinates the execution of distributed transactions on behalf of an application.
The option to turn on the SQL Statement event monitor is not practical because of the overheard involved and the potential performance penalty a high transaction environment could incur.