turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: Pasing Objects within Turbine.
Date Wed, 03 Oct 2001 15:57:26 GMT
John McNally <jmcnally@collab.net> writes:

> Roel Derksen wrote:
> > 
>> Hi,
>> 
>> I'm new with Turbine and I've got the following question:
>> Is there a way for a Action to use the Objects of a previous Action?
>> 
>> What I mean is this:
>> public class myAction extends SecureAction
>> {
>>     String sMyString;
>
> IMPORTANT:  This is a big no-no.  Actions should not have attributes. 
> Modules must be threadsafe, just as a servlet should be.

So Actions/Modules can have read only attributes, or attributes can be
synchronized if you don't mind the (possibly heavy) performance hit.

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message