[jboss-user] [JBoss Seam] - Re: Audit Interceptor with State

kevin.genie do-not-reply at jboss.com
Fri Dec 1 04:20:34 EST 2006


Hello Gavin,
<<(The reason is that fine-grained method-level tx <<demarcation is an antipattern - you want to do all <<your work for a request in the same tx.)

  I didn't understand what you have said ? Can u pls give a detailed explanation ? Are you referrring to the pattern where from the controller you are forced to do all the work in a single ejb call since you cannot make two EJB calls in the same Action method because of Tx getting splitted ? If that is the case, is there a way this can be done in Seam ? If we are using Session bean methods as action methods, then here also we have to do all the work in that method itself; am i right ?

Thanx

Kevin

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990387



More information about the jboss-user mailing list