Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How I can manage a transaction CMT in the JBoss?  RSS feed

Marco Paradiso
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am developing an application that uses JSF and EJB 3,0 and JPA, and have the necessity to manage when commit or rollback occurs one. In this in case that, I wanted to know if some form exists to create something to listener to alert when one of these two action to me to occur. This necessity appeared therefore the system will have to send email for the user. However, sendi does not exist to send email in the one case rollback. The management of the transactions is made by CMT. In this in case that I left the responsibility of comitar the transactions for the container. For the case of the one rollback, creates an interceptor that recoups the exceptions and makes one setRollbackOnly (). It will be that some possibility exists to make this?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!