You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ryan Rich <RR...@bitek.com> on 2001/04/26 01:45:16 UTC
FormBeans and Thread Safety
When creating a FormBean (a class extending ActionForm), do they need to be
thread-safe?
Ryan Rich
----------------
Bitek, Inc.
2569 West Woodland Dr.
Anaheim, CA 92801
(714) 828-8388
Re: FormBeans and Thread Safety
Posted by Jonathan <ja...@i-2000.com>.
Where in the docs does it say that Action objects are pooled?!!
----- Original Message -----
From: "Rajan Gupta" <rg...@yahoo.com>
To: <st...@jakarta.apache.org>; "Ryan Rich" <RR...@bitek.com>
Sent: Thursday, April 26, 2001 8:58 AM
Subject: Re: FormBeans and Thread Safety
> No. ActionForm are created for each request, While Action need to
> threadsafe, because Action's are pooled
> --- Ryan Rich <RR...@bitek.com> wrote:
> > When creating a FormBean (a class extending ActionForm), do they need to
> > be
> > thread-safe?
> >
> > Ryan Rich
> > ----------------
> > Bitek, Inc.
> > 2569 West Woodland Dr.
> > Anaheim, CA 92801
> > (714) 828-8388
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
Re: FormBeans and Thread Safety
Posted by Rajan Gupta <rg...@yahoo.com>.
No. ActionForm are created for each request, While Action need to
threadsafe, because Action's are pooled
--- Ryan Rich <RR...@bitek.com> wrote:
> When creating a FormBean (a class extending ActionForm), do they need to
> be
> thread-safe?
>
> Ryan Rich
> ----------------
> Bitek, Inc.
> 2569 West Woodland Dr.
> Anaheim, CA 92801
> (714) 828-8388
>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/