I have userList session bean with Session scope,and outject an user object

@Stateful
  | @Name ("userList")
  | @Scope (SESSION)
  | public class UserListAction implements UserList {
  |     @Out private User user;
  |     ...
  | }

And I have an userEdit session bean with Conversation scope,and also outject an 
user object

@Stateful
  | @Name ("userEdit")
  | @Scope (CONVERSATION)
  | public class UserEditAction implements UserEdit {
  |     @Out private User user;
  |     ...
  | }

then the userlist and useredit pages will redirect to userView page.
suppose this situation,I enter userlist page,select an user to view,then I go 
to useredit page,create an user,and after save will jump to view....

since the userlist has also outject an user(in session scope?),and then the 
useredit will also outject another(in conversation scope?),will there be two 
user object now?

and as I have end the conversation after edituser saved,I suppose that the 
conversation scope has been destroyed,where is that outject user object?in 
which context?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108869
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to