| By Jason Bell | Article Rating: |
|
| July 1, 2003 12:00 AM EDT | Reads: |
18,337 |
J2SE is going through a bit of an overhaul at the moment, with the release of J2SDK 1.5 (project name "Tiger") due at the end of 2003. Sun Microsystems ran a feature article in May about this release that included a Q&A with Joshua Bloch, a senior staff engineer at Sun (http://java.sun.com/features/2003/05/bloch_qa.html). 1.5 contains enhancements that enable developers to create simple robust code. The impact on legacy code has been kept to a minimum. Well, I hope so; at least that's the way I read it.
I use Generics on a daily basis and find it an interesting issue, especially when dealing with RSS/RDF data items (and trust me I see a lot of RSS data).
List myList = new ArrayList();
List myList<String> = new ArrayList<String>();
Now is that funky or what? Do you see the benefits? First, it solves most of those annoying casting problems; no longer do we mere mortals have to suffer typing:
Iterator i = myList.iterator();
while(i.hasNext(){
String thing = (String)myList.next();
}
Now we can save ourselves from typing eight characters. Which, from my point of view, is 80 characters a day, multiply that by a year (I work hard), that's 29,200 typing actions saved. Depending on your half-empty/half-full perspectives, you could either be keeping RSI at bay or losing on productivity.
With Generics in 1.5 the errors are caught at compile time, not at runtime. In theory most of the ClassCastExceptions will be eliminated. Sounds like a good deal to me. The jury is still out on whether anyone will go back and change every casting from a collection, but that remains to be seen.
I won't go into the enhanced for loop, autoboxing, or avoiding the creation of boilerplate coding with metadata. The best thing you can do is read Sun's J2SE 1.5 article, while I readjust my cynicism chip to full.
Here we go: Will the 1.5 SDK be available across all OS types? Now I use Windows, Debian Linux, and FreeBSD in a commercial setting so I need a stable SDK across all of these. As for the rest of the world, there's still all the other Linux releases, Solaris (I think Sun will have that one covered), and Mac OS X. I'm always wary of new SDK releases as they take time to be accepted, and then you have to think about the developer catch up. Is everyone now using NIO and Regular Expressions these days? I don't think so, judging by the amount of queries I see in mailing lists and other developer/student help channels.
Developer releases are great - they evolve, invigorate, and charge the head, the hands, and the heart to code like you've never coded before. The question you have to ask is: "Is this release really going to impact the business that I work in?" How is it going to increase productivity? How much retraining will be required? How many more books will I have to buy on the Java language? The ultimate question is: What is the cost benefit?
J2SE 1.5 could be a sleeping Tiger for a good 12 months unless the hearts and minds of Java programmers are refreshed in the things they do. I'm excited about it, but other developers don't always think the same way I do. Sun needs to work hard at serving the community across operating systems. Now I can appreciate that there are always manpower constraints, but a proper roll out has to be maintained. I want to use 1.5 across the OSs I use, but may not be able to do so for a little while yet.
Published July 1, 2003 Reads 18,337
Copyright © 2003 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Jason Bell
Jason Bell is founder of Aerleasing, a B2B auction site for the airline industry. He has been involved in numerous business intelligence companies and start ups and is based in Northern Ireland. Jason can be contacted at jasonbell@sys-con.com.
![]() |
Larry Emke 07/08/03 10:32:00 AM EDT | |||
All, Thank you for such a good tool As time permits, hope to read thanks again, |
||||
![]() |
Jason Bell 07/21/03 10:01:00 AM EDT | |||
Kirk, Regards and blessings |
||||
![]() |
Kirk 07/20/03 10:28:00 AM EDT | |||
Hi Jason, My comments were a bit long for this forum so, I blogged them at http://kirk.blog-city.com/. They should come as no suprise to you though ;) BTW, in order to save that 8 characters, you would need to type in 8 characters as a parameter and 16 as a local variable. So, there goes your savings. |
||||
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- Confessions of a Ulitzer Addict
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- It's the Java vs. C++ Shootout Revisited!
- Cloud Computing Can Revitalize Your Career as Software Developer
- IBM Could "Reinvent" Java: Mills
- Oracle & Cloud Computing: Exclusive Q&A with SVP Richard Sarwal
- A Brief History of Cloud Computing
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- i-Technology Predictions for 2007: Where's It All Headed?







































