Its not reflection killing you. For example, time this:

<%=System.currentTimeMillis()%>
<c:forEach begin='0' end='${param.iterations}'>
  ${more.cowbell}
</c:forEach>
<%=System.currentTimeMillis()%>

Where more is any java object and cowbell is a property (getCowbell()). In simple timing trials - even where iterations is greater than 2000 - I get subsecond response time.


-Tim

Kevin Burton wrote:

Dakota Jack wrote:

Why would you have to have an entirely new "reflection" for more than
one database call?  That sound like a design SNAFU to me.  Looks to me
like you should be having one use of reflection instead of 1000.



I don't have to have it. Tomcat is *doing* it. Forget the DB. If I have a list of 500 items. And I call 4 taglibs for each item. This yields a HUGE page slowdown.

Very pathetic actually.   I can't believe anyone finds this acceptable.

Kevin


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



Reply via email to