The Wayback Machine - https://web.archive.org/web/20100917060926/http://alan.blog-city.com/java5_dies.htm

alanwilliamson

Java 5 dies - mourning a revolution

It is the 30th of October 2009, the day the music stopped. Or at least the music of Java 5. Today is the day that marks the End of Service for J2SE 5.0. No more general support or bug fixes for this edition. Time to move up to at least Java 6.

Let us not be sad at the passing of a friend, but instead celebrate how our friend enriched our lives and the legacy he is leaving us.

In 2004, Java 5 (or Tiger), introduced a number of core language enhancements, some controversial, some minor, and some that never really took off. The high level additions include:

  • Generic Types
  • Autoboxing and Auto-Unboxing of Primitive Types
  • Metadata
  • Enhanced for Loop
  • Enumerated Types
  • Static Import
  • Formatted Output/Input
  • Varargs
  • Concurrency Utilities
  • Core XML Support
  • JDBC RowSets
  • Supplementary Character Support

For me personally, I have found Generics and the Concurrency package to be the most used within my own development life. I have also found the autoboxing sneaking in to my development and to be completely honest, I am undecided about the notion that my primitive types are automatically converted to their class based derivatives for use in collections.

Other additions like varargs and enhanced loops has never really grabbed me as anything more than short-cuts to promote grammatical laziness.

Java 5 also introduced core JVM performance improvements and also improved profiling tools to give us a greater window into what our applications where actually doing.

So as we load the body of Java 5 onto the mythical burning ship to set it off on its last journey, we give pause and thanks for how it enriched our Java development lives.

throw new DeathException();

If you are clinging onto Java 5 for dear life, then you may wish to consider paying for up to 15 years of support through Sun's Java for Business programme.

Comments

Great post though this:

"Other additions like varargs and enhanced loops has never really grabbed me as anything more than short-cuts to promote grammatical laziness."

definitely reminds me of the java world. You assign zero value to terseness and readability and instead chide people for NOT typing all the characters that real java programmers need to be typing (and you really can't imagine a good use for varargs?).

I'm doing some JMS integration at the moment using JRuby, and most of what I've been doing to get us started is taking Java JMS examples and literally and simply deleting 4/5ths of the code in the example and making the rest Ruby. I guess I'm cheating or something ;-) But in my hierarchy of values about programming, terseness and readability rank near the top, adherence to code-hemorrhaging convention for its own sake is near the bottom (though still of > 0 value).
left by Steve C — Monday, 1 February 2010 3:55 AM

It's bizarre really. I remember looking forward to 1.1, so darn weird to think that 5 is EOL'd.

Which basically means I'm really old...
left by Jason R Briggs — Friday, 30 October 2009 9:06 PM — web site

Ooops corrected. Yes, without a doubt the years flew by.

left by Alan Williamson — Friday, 30 October 2009 5:55 PM — web site

Hey Alan. One small note, Java 5 was released in 2004. Wow those 5 years really flew !

left by calvin austin — Friday, 30 October 2009 5:27 PM

Leave Comment

please note, all comments will be moderated for spam and abuse before being publicly posted.


 

Recent Cloud posts

Recent JAVA posts

Latest CFML posts


 
Site Links
Recommended Sites/Blogs

Follow javachampion on Twitter