| Author |
Upgrade webapp from Java1.4 Tomcat 5 to Java1.6 Tomcat 6
|
Somesh Chitturi
Greenhorn
Joined: Jan 31, 2009
Posts: 11
|
|
Hi,
I am trying to upgrade my webapp to Java6 and Tomcat6. I successfully upgraded it on a test server and am testing it using JMETER. I am testing the old configuration (Java1.4 and Tomcat5) vs new configuration (Java1.6 and Tomcat6). I noticed that the performance was bad with the new configuration.
Do I need to make an changes in my code to work well in Java6 (developed using java1.4)?.Are there any known issues related to this task?.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
I know of no issues and would expect the same or better performance.
Exactly which aspect of performance have you measured as being worse?
Bill
|
Java Resources at www.wbrogden.com
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14475
|
|
As I recall, Tomcat6 was reputed to be notably faster than Tomcat5. Tomcat5 was unfortunate enough to be stuck in the middle of the transition from the old (1.4 and earlier) JVMs to the new 1.5+ JVMS, where a lot changed, and it shows - there's 2 separate 5.x release chains, one for Java 1.x (5.0) and one for Java 5+ (5.5).
Tomcat 6 no longer had to retain vestiges of backwards compatibility with Java 1.4, plus they did some general cleanup, so I'd expect it to do better overall. I never saw any hard numbers, but certainly I never felt any pain moving up myself.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: Upgrade webapp from Java1.4 Tomcat 5 to Java1.6 Tomcat 6
|
|
|