aspose file tools
The moose likes Features new in Java 7 and the fly likes Java 5 to 7 upgrade for using new programmatic features released Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Features new in Java 7
Reply Bookmark "Java 5 to 7 upgrade for using new programmatic features released" Watch "Java 5 to 7 upgrade for using new programmatic features released" New topic
Author

Java 5 to 7 upgrade for using new programmatic features released

vijay makam
Ranch Hand

Joined: Sep 06, 2008
Posts: 31
We are using java 5 in our projects. With Java releasing new versions at quite a good pace than we can think of upgrading to, how can we use the new features of Java. We can always upgrade to the
new version of java/jdk but how do I make use of the new programmatic features. Is there a good starting point for us to guide us in refactoring our java 5 code bases. Also does java 7 preach something which was good in java 6 to be not so good or has provided a better way of doing them.
I hope the book "The Well Grounded Java Developer" has something that I am looking for.


Regards,
vijay
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3268

Hi Vijay,

I'm pretty sure our book mentions it, but just in case... All 3 major IDEs (Netbeans is the most advanced at this) will recommend and allow you to automatically update some of your code to use new Java 7 features. However, in terms of using Java 6 features, you'll simply have to look at a good upgrade guide (or at least that change list) and see what new features you want to use.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32833
    
    4
Since Java5 is past its end‑of‑life, you should have changed to Java6 at least, already. Of course, old code which works well should be treated according to the “if it ain’t broke, don’t fix it” principle.
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1127
    
    7

You could look at the book Java 7 New Features Cookbook which illustrates many of the new feature with code samples.


ex-Oracle bloke
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Java 5 to 7 upgrade for using new programmatic features released
 
Similar Threads
Java 7 Jax-ws: which IDE is better to use with?
How long will it take for J2SE 5 to be widely accepted ?
Distinctive features of IntelliJ
"Best" IDE for JSP development
Why should I change to Java 7?