Question

I'm currently running my web application on Java1.5 codebase, running it on Tomcat 5.5 and MySql 5. Looking through the list of additions that were added into Java1.6, I have to ask the question, "Is there any compelling reason to move from 1.5 to 1.6?". There seems like an incredible lack of necessary improvements and additions. A lot of changes in Swing (not that interesting). Keep in mind the current web application is stable (-ish) and moving up a version always entails some risk.

Am I missing anything important by not moving up? Is there a good reason to move up?

Was it helpful?

Solution

Faster execution time. Better dynamic debugging. Better native look and feel in Swing (not important to web apps). Supported on Windows Vista (could become important, depending on your platform).

JavaScript integrated into the platform (could be a big deal if you update your webapp). Better scripting language support (could deploy RoR in theory, if needed). Lightweight web services platform integrated (might be useful). Better already integrated JDBC4 support.

In other words, it depends, but generally there's enough to make a compelling argument. There's also enough that you might not benefit from to make a compelling counter argument.

Eventually you will have to change. When you do, if you've made the counter argument to stay the same for too long, you wind up having to fix multiple accumulated historical issues all at once. That can overwhelm a team, so sometimes it is best to stay "just a bit behind" current, but never very out-of-date.

I'm assuming you've looked over the features page, and if you haven't, you should.

OTHER TIPS

Java 5 went "end of service life" in 2009.

The newer VM is faster.

Sun (now Oracle) Java 5 has reached end-of-service-life status on October 30, 2009. That means that Oracle will not do bug- and security-fixes anymore on it, unless you pay for a "Java SE for Business" contract (see the web page for details).

Besides that, Java 6 contains a lot of performance improvements (which might or might not matter for your particular application).

It's usually easier to keep an application up to date if you stay on the most recent version. (Not bleeding edge, but current).

The transition between 1.5 and 1.7 may require more work than if you make the shift to 1.6 first.

jvisualvm in the JDK is reason enough to upgrade. Allows you to investigate and profile an already running process without any preparation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top