[OT]RE: concurrency problem

2005-04-10 Thread Kalra, Ashwani
nal Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, April 08, 2005 8:22 PM > To: Struts Users Mailing List > Subject: Re: concurrency problem > > > > > > > Maybe I'm being dense here but: > > If every session contai

Re: concurrency problem

2005-04-08 Thread Jeff_Caswell
"Struts (E-mail)" gemini.com> cc: Subject: concurrency problem

RE: [OT] RE: concurrency problem

2005-04-08 Thread Kalra, Ashwani
; Subject: [OT] RE: concurrency problem > > > As I hit the send button, something tickled in the back of my > mind, and I > began to remember that the spec forbids thread primitiives on > bean methods > and that the EJB container is responsible for handling > concurrent acce

[OT] RE: concurrency problem

2005-04-08 Thread DGraham
PROTECTED] 04/08/2005 09:13 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject RE: concurrency problem You're synchronizing on an object which is unique for each user, which might explain why more than 1 thread can concu

RE: concurrency problem

2005-04-08 Thread DGraham
04/08/2005 08:53 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject RE: concurrency problem Isnt that valid when request is going to same action. In my scenario, different actions are invoked quickly and all the actions have thi

RE: concurrency problem

2005-04-08 Thread Kalra, Ashwani
lto:[EMAIL PROTECTED] > Sent: Friday, April 08, 2005 6:04 PM > To: Struts Users Mailing List > Subject: Re: concurrency problem > > > You'd be better off implementing token processing. > > Struts includes token generation and helper methods to ensure > only one valid &g

Re: concurrency problem

2005-04-08 Thread James Mitchell
l Message - From: "Kalra, Ashwani" <[EMAIL PROTECTED]> To: "Struts (E-mail)" Sent: Friday, April 08, 2005 7:10 AM Subject: concurrency problem I am facing concurrency problem in following scenario. All our action classes call same stateful session bean . Each action

concurrency problem

2005-04-08 Thread Kalra, Ashwani
I am facing concurrency problem in following scenario. All our action classes call same stateful session bean . Each action class obtains the reference from HTTPSession object and calls one and only one business method. To prevent the concurrent access to this instance which occurs when user