This content has been marked as final.
Show 4 replies
-
1. Re: Question of the day: Stateless Session Beans
junkie Sep 27, 2007 10:08 AM (in response to junkie)My post was read more than 20 times and no one corrected me so I guess that it makes sense to use Stateful SBs with Seam in this way.
-
2. Re: Question of the day: Stateless Session Beans
jacob.orshalick Sep 27, 2007 10:27 AM (in response to junkie)It does not look like in your case that you have any state to maintain, unless that code has been snipped. SFSBs are useful when maintaining state across requests so it looks like your approach is fine.
-
3. Re: Question of the day: Stateless Session Beans
junkie Sep 28, 2007 5:46 AM (in response to junkie)Thanks Jacob,
I was just thinking that concurrent users might accidently get the same outjected book object: User 1 requests book A and user 2 requests book B and both get book A outjected.
Stateless SBs are synchronized but does that for sure mean that outjection from Stateless SBs is? -
4. Re: Question of the day: Stateless Session Beans
pmuir Sep 28, 2007 6:24 AM (in response to junkie)yes thats fine