tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: Why tomcat 4 or even 3?
Date Wed, 15 Sep 2004 23:03:20 GMT
I am in the process of moving from 4.0 to 5.0 on HPUX. So far - 5.0 has been 
pretty sweet, here were the worst of my problems:

(1) Bad coder karma
<%page import="java.util.*,*,"%> will cause an error with the 
trailing comma

(2) (more bad coder karma) Placing return statements in your JSP should be in 
a conditional because if not, there is a much better chance that you'll get a 
statement not reachable compile error.

(3) If have custom tags - there probably not tag pooling friendly, so turn 
tag pooling off

(4) The incremental gc option on HP blew chunks. At least thats what it 
seemed like when I was testing the server with that option turned on. I 
haven't gone through extensive tuning yet. In general, if I give enough 
memory to the JVM and make sure my kernel params are high enough - I stop 
there. Perfomance has always been nice on their servers.

Why go to 5? My main reasons ...
- JSP2.0 -- EL
- User defined functions in EL

JSTL has made our code sooooo much easier to read. With 5 - now I can get rid 
of all those <c:out> tags.


Wendy Smoak wrote:

> From: "John Villar" <>
>>A question to everyone out there..... why does anyone use nowadays
>>Tomcat 4 branch?..... isn't tomcat 5 branch more bug free, featurefull
>>and backwards compatible?
>>that question has haunted me from the beginning of joining this list.....
> Because we're on HP-UX and they have not yet officially blessed Tomcat 5.
> That, and Tomcat 4 works perfectly well, I haven't found sufficient
> motivation to test everything on TC5 and start developing with the new
> features yet.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message