I do use a Action + Service pattern  in order to catch all EJB/JPA exceptions 
and stay in the same page or display a pretty nice error messages. The action 
is a simple POJO and the Service is an @EJB , 
@TransactionAttribute(REQUIRES_NEW) over the method makes me happy in this case.

IIRC, I've already post in this forum how I'm doing (time ago).


HTH.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085551#4085551

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085551
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to