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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user