The golden rule is not to maintain any state in an Action instance variable.

In other words Actions should not have any instance variables that are 
updated when perform is called.  

  Nick

> -----Original Message-----
> From: Brian Holzer [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: Threading issues
> 
> 
> Hi there,
>     I have not yet had to develop an application that had to 
> deal with threading issues before.  From reading the 
> documentation I see that all users, are using the same 
> instance of the Action class.
>    Can anyone give me some basic pointers on things to do or 
> avoid in order to avoid having users trample each other 
> within my Action code since I seem to have a fair amount of 
> app flow control going on,  or  any design decisions that 
> anyone has come up with to avoid these types of problems.
> 
> thanks
> Brian
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to