Must i set Search SFSB SCOPE Session???
or i just mark the Scope of Entity Searched Session?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912344#3912344
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912344
Probably not a good idea to scope SFSB to session. You could create a search
result object (a real POJO, not an Entity Bean, unless you want to persist your
search results which sounds crazy) and put that in the session scope.
View the original post :
Why do you think it's bad to put an SFSB in the session? I think that's ok
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912491#3912491
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912491
Seems weird...
First of all, it won't be freed up until the session is invalidated or the app
takes it out of the session context. Then, I'm not too sure how it will behave
wrt activation/passivation.
I think the web layer also does its own bit of passivation/activation and
writes objects in
patrick_ibg wrote : First of all, it won't be freed up until the session is
invalidated or the app takes it out of the session context.
Well, that just means you should make sure it isn't too huge and/or configure
appropriate passivation. It's a tradeoff of performance vs. usability. You
can't
Seam doesn't support multiple nested conversations at this point.
So for now you have two choices:
1. search query in conversation scope, edit on event scope.
2. search query and edit in the same conversation scope.
View the original post :
maybe i solve my problem.
i use a dummy properties that i put in the view page. the getter of this
properties is marked @Begin
any time i go to this page i begin the conversation and now i can search
view edit and review the entity
whitout any error
is it possible?
Better to keep your search results in session scope, IMO.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912201#3912201
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912201