[jboss-user] [JBoss Seam] - Re: Howto: acces from bean to another SFSB?

2007-06-27 Thread Stateless Bean
Can U explain me for what reason u use @Factory here? What this do? | @Factory(name=gameAction,scope=SESSION) | public GameAction initGameAction() { | | GameAction result = new GameAction(someId,someName); | return result; | } | Maybe better way is to create in

[jboss-user] [JBoss Seam] - Re: Howto: acces from bean to another SFSB?

2007-06-26 Thread Delphi's Ghost
If I'm understanding your question, you could just use a factory method to create the bean and initialize it on demand. | @Factory(name=gameAction,scope=SESSION) | public GameAction initGameAction() { | | GameAction result = new GameAction(someId,someName); | return