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
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