This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Marco Paradiso
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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!