[jboss-user] [JBoss Seam] - Re: Conceptual/Best Practice Question
gavin.king@jboss.com
do-not-reply at jboss.com
Tue Mar 27 12:48:23 EDT 2007
anonymous wrote : In your code that alters data raise an event:
It's better to use an afterTransactionSuccess event, more elegant txn model.
anonymous wrote : I am getting greedy now. Is there somewhere I can place the event call inside a @Conversational bean so that it will get fired on any @End call?
Seam has a built-in event that it fires at the end of every conversation. You can listen for that, and then raise an afterTransactionSuccess event from the listener.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032131#4032131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032131
More information about the jboss-user
mailing list