[jboss-user] [JBoss Seam] - Seam Stateless Beans

fcorneli do-not-reply at jboss.com
Tue Nov 28 11:50:53 EST 2006


I have this @Stateless bean with a setName() and getName() and a process() method. The first time I call process() via the page all is OK, but the second time the page calls getName() first, which still contains the previous value. Is there a way to clean this besides doing?

  | public void process() {
  |    try {
  |       reallyProcess();
  |    }
  |    finally {
  |       this.name = null;
  |    }
  | }
  | 
I don't want to start a conversation for a single page. How does Seam handle the lifecycle of @Stateless beans?

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

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



More information about the jboss-user mailing list