I don't have a formal test, however I've been using the JSP 2.0 EL on a
webapp that gets about half a million hits a month without a problem.The
server is nothing special, an old Dell server (1Ghz) with 512 ram and a
few other web apps running on it. In general, I think it is fair to say
the JSP EL performance is dwarfed by any other poor coding of the web
app, e.g. poor database connection management, poor algorithms, poorly
done queries, or even a bloated page that needs to be sent across a slow
connection.

My point is, why worry about it? If it matters (maybe a web app is
slow), you will have to do standard performance monitoring to see what
is slowing things down anyhow. Don't ever assume it would be the JSP EL,
just because you heard the implementation "might be slow" -- espeically
since different vendors can optimize as they please. In any case, you
could always replace EL expressions with classic JSP expressions to
speed things up, if you really had to.

Cheers,
Jayson Falkner
[EMAIL PROTECTED]



On Wed, 2003-06-04 at 07:44, Erik Beijnoff wrote:
> I've comed to learn and love the way that EL is used in JSTL and JSP
> 2.0. However, I'm getting a feeling that it may by inefficient since for
> what it seems like and from what I've heard, it uses reflection to
> call/access the correct methods/variables.
>
> So perhaps extensive use of the EL is discouraged, although I'd feel a
> buit sad if that's the case? Does anybody have any load measurement
> tests for some current JSP 2.0 server implementation?
>
> /Erik Beijnoff
>
> Systems developer
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to