This content has been marked as final.
Show 7 replies
-
1. Re: Booking ScopeType.SESSION
dhinojosa Feb 4, 2008 2:21 PM (in response to vicky123)Great question.
-
2. Re: Booking ScopeType.SESSION
vicky123 Feb 4, 2008 4:30 PM (in response to vicky123)Great question.
I don't know what does this mean but still I dont know the answer of my question.
Can any one tell me why is it like that?
-Vivek -
3. Re: Booking ScopeType.SESSION
gus888 Feb 4, 2008 4:51 PM (in response to vicky123)I think that it is just for demo, and the same case happens in seam-bay AuctionSearchAction.java. For enterprise project, I remember that pete.muir ever recommended to use EVENT plus page param in this forum.
-
4. Re: Booking ScopeType.SESSION
pmuir Feb 4, 2008 6:09 PM (in response to vicky123)It depends on your use case. In the booking app, we wanted the search results to be remembered while the user is logged in.
Yes, it's uses memory, but doing the search every time would consume cpu - you need to make this design choice when you write your app. -
5. Re: Booking ScopeType.SESSION
dhinojosa Feb 4, 2008 6:14 PM (in response to vicky123)I don't know what does this mean but still I dont know the answer of my question.
Can any one tell me why is it like that?
I said that because, I don't think anyone can really answer that except the stewards of Seam. All other answers will be pure speculation. I was just supporting your question.
I am beginning to think that there should be a warning not to put any SFSB as Session scope or higher due to memory consumption. -
6. Re: Booking ScopeType.SESSION
vicky123 Feb 6, 2008 12:04 PM (in response to vicky123)I said that because, I don't think anyone can really answer that except the stewards of Seam. All other answers will be pure speculation. I was just supporting your question.
I am beginning to think that there should be a warning not to put any SFSB as Session scope or higher due to memory consumption.
I am sorry I misunderstood.
Anyways my use case was not allowing me to use SESSION context in. I have done it using param.
Thanks a lot all.
-Vivek -
7. Re: Booking ScopeType.SESSION
pmuir Feb 17, 2008 1:25 PM (in response to vicky123)Dan, we outline why the session scope is a problem in the docs intro and every presentation we do :)