Can someone explain to me the details of scoping with entity beans. The majority if not
all of the examples I've seen show entitiy beans using the session scope. Like in the
seam documentation:
| @Name("user")
| @Entity
| @Scope(SESSION)
| public class User {
| ...
| }
|
So what does this exactly mean that the 'user' entity bean lives in the Session
scope, does this mean that in Bijection the user bean is literally in the session scope
even if the EJB3 accessing the user entity bean is Stateless?
So if I changed the @Scope(SESSION) to @Scope(EVENT) then the user bean would only stay in
the EVENT/request scope during bijection?
Help understanding this would be greatly appreciated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967332#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...