I earlier JDKs (1.0, 1.1), reflection was slow. Since java 1.2, reflection is fine.

-----Original Message-----
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 11:34 AM
To: Struts Users Mailing List
Subject: Re: using struts for larger apps


Reflection will likely have a negligible impact. It may actually be more
performant than writing a lot of custom code that did the same thing.

If there are scaling issues, most are likely to be related to trying to
do too much on the presentation layer. Struts provides some nifty
taglibs, but most people here would strongly recommend moving as much
processing as possible into the Action (or, better yet, the actual
business layer), so there is very little left for the JSPs to do. 

A very good alternative to JSPs is Velocity, which encourages better MVC
designs, and consequently applications that would scale better. 

http://husted.com/struts/resources/velstruts.zip

This is not an election of remedies, and both JSPs and Velocity
templates can be used in the same application. 

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/



"emmanuel.boudrant" wrote:
> 
> And the use of reflect package in PropertyManager.
> 
> too many reflect invoke == slow performance
> 
> Is that true ?




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

Reply via email to