[jboss-user] [JBoss Seam] - Re: Question on Seam example

gus888 do-not-reply at jboss.com
Wed Aug 16 09:54:01 EDT 2006


Hi,

My idea is:
* If two SESSION scope SFSBs need to interact each other (e.g.pass some values), it is better to use a STATELESS session bean as a bridge to transfer value and action between the two SESSION scope SFSBs (SFSB ->SLSB -> SFSB). This way is better than directly injecting a SESSION scope SFSB into another SESSION scope SFSB.
* If two EVENT or CONVERSATION scope SFSBs need to interact each other, it doesn't matter, the two injection ways (SFSB ->SLSB -> SFSB; SFSB -> SFSB)  work similarly.
Is it correct? It will be appreciated if some experts confirm this. Thank you. 

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

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



More information about the jboss-user mailing list