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

Stateless Bean do-not-reply at jboss.com
Wed Jun 27 02:59:41 EDT 2007


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 method my bean and outject using @Out like

  |   //in some other bean
  |   @Out
  |   private GameAction gameAction;
  | 






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

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



More information about the jboss-user mailing list