Does anyone have an example of the best way to begin, commit/rollback a transaction from within a CDI managed bean within a J2EE 6 container.?
I have run into a particul
You can write your interceptor for transaction management, then you can add this interceptor for your method. See this blog post.
In Java EE 7 we have magical (:)) @Transactional annotation for declarative transaction management as well as in EJB.