RE: DynaForms perfomance

2003-04-02 Thread Raible, Matt
Unless, of course, you generate your Forms using XDoclet, and then it takes
no time at all ;-)

> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 02, 2003 10:40 AM
> To: Struts Users Mailing List
> Subject: Re: DynaForms perfomance
> 
> 
> 
> 
> On Wed, 2 Apr 2003, Guido wrote:
> 
> > Date: Wed, 02 Apr 2003 12:20:41 +0200
> > From: Guido <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: DynaForms perfomance
> >
> > Is there any perfomance comparation "DynaActionForms vs 
> ActionForms"?
> > What is the penalty of using Dyna ones (perfomance and 
> other drawbacks)?
> >
> 
> Examining the source :-) will tell you that DynaActionForm 
> uses a HashMap
> to store the current values of all the properties, so the getters and
> setters do take a little longer to run that getters and 
> setters that just
> refer to an instance variable of the bean class.
> 
> However, this is pretty unlikely to have any practical impact 
> on response
> time of a web application.  Nearly always, the database is the biggest
> consumer of time, and the network is second -- the difference we are
> talking about is a tiny amount of CPU time, and adding CPU 
> capacity to an
> app is generally pretty cheap.  Usually *lots* cheaper than 
> paying your
> developers the extra hours it takes to build the standard form beans.
> 
> > Thank you,
> > Guido.
> 
> Craig
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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



Re: DynaForms perfomance

2003-04-02 Thread Dan Allen
> Usually *lots* cheaper than paying your developers the extra hours
> it takes to build the standard form beans.

Amen to that!

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Chaos reigns within. 
Reflect, repent, and reboot.  Order shall return.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



Re: DynaForms perfomance

2003-04-02 Thread Craig R. McClanahan


On Wed, 2 Apr 2003, Guido wrote:

> Date: Wed, 02 Apr 2003 12:20:41 +0200
> From: Guido <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: DynaForms perfomance
>
> Is there any perfomance comparation "DynaActionForms vs ActionForms"?
> What is the penalty of using Dyna ones (perfomance and other drawbacks)?
>

Examining the source :-) will tell you that DynaActionForm uses a HashMap
to store the current values of all the properties, so the getters and
setters do take a little longer to run that getters and setters that just
refer to an instance variable of the bean class.

However, this is pretty unlikely to have any practical impact on response
time of a web application.  Nearly always, the database is the biggest
consumer of time, and the network is second -- the difference we are
talking about is a tiny amount of CPU time, and adding CPU capacity to an
app is generally pretty cheap.  Usually *lots* cheaper than paying your
developers the extra hours it takes to build the standard form beans.

> Thank you,
> Guido.

Craig

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



DynaForms perfomance

2003-04-02 Thread Guido
Is there any perfomance comparation "DynaActionForms vs ActionForms"?
What is the penalty of using Dyna ones (perfomance and other drawbacks)?
Thank you,
Guido.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]