cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Having one instance of the XSPPage per thread
Date Thu, 12 Apr 2001 16:57:32 GMT
Nicolás Lichtmaier <nick@technisys.com.ar> wrote:
>In the servlet specification, one can implement SingleThreadModel and
>have the servlet container run each request (thread) with a different
>instance of the object. I need this functionality in Cocoon

Why?

Why not just use

a) local variables, which are by nature thread-local

b) synchronized {} blocks

>and I'll
>probably implement it. If I do, will it be included in the standard
>Cocoon?

If you can provide a good argument for it, and the change doesn't break 
anything, maybe.

>The modification would involve adding a new attribute to
>xsp:page (singlethreadmodel="yes"?).

All modifications to the XSP language have to be discussed on xsp-dev.
cc'd.



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message