This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes From Java 1.4.2 to Java 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "From Java 1.4.2 to Java 6" Watch "From Java 1.4.2 to Java 6" New topic
Author

From Java 1.4.2 to Java 6

Devin Richards
Greenhorn

Joined: Jul 12, 2011
Posts: 3
Being married to the IBM WebSphere stack I have been stuck in 1.4.2 land for many years, until now. We are looking to move to the new versions of the tools all of which are using Java 6.

I am looking for resources to help me understand all of the new "cool" stuff in Java 6 (and why I would use it.)

Having been programming for over 15 years and a majority of them in Java, I don't need to know how to program (some may argue that) and I don't know Java 5. So I don't need a beginners book but it can't assume I know Java 5. I am more interested in Enterprise code and less in the UI space.

Any ideas?

TIA
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

so do you want to upgrade to java6? If you are good enough with java1.4 then for you to move java1.6 wont be that difficult. you can google and find out the new packages and classes with their needs!
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

and Welcome to JavaRanch
Devin Richards
Greenhorn

Joined: Jul 12, 2011
Posts: 3
I agree that the code I have and can write should work and if it doesn't the compiler and some debugging & googling will solve that. I am interested in finding out how and why to use any of the new features or enhancements since 1.4.2.

Most notably is annotations as I see them all over the place.

Just looking for articles, sites, blogs and books to help me on my way as trying to get google to give me a decent result set has been frustrating.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Look for books that focus on Java 5 or "Tiger".

For example, I found both of these books helpful back when I was in the same boat:
  • http://www.amazon.com/Java-5-0-Tiger-Developers-Notebook/dp/0596007388
  • http://www.amazon.com/Java-v5-0-Tiger-New-Features/dp/0072258543


  • [Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
    Pat Farrell
    Rancher

    Joined: Aug 11, 2007
    Posts: 4646
        
        5

    IMHO, the two biggies are generics and the improved for-loop. Well, three if you count the much better auto-boxing support.

    The new for-loop and autoboxing are pure good things.

    Generics are a mostly good thing, they can really help, but the syntax is a bit bizarre and the implications of some of the legacy-compatibility decisions are baroque.

    Most folks do not convert legacy code. Rather, they allow it to interoperate, and write new code to the new features of the compiler.

    Have you considered going straight to Java 7?
    Devin Richards
    Greenhorn

    Joined: Jul 12, 2011
    Posts: 3
    I can't go to 7 as IBM is on 6. Thanks for the info!!
    Paul Clapham
    Bartender

    Joined: Oct 14, 2005
    Posts: 18541
        
        8

    Pat Farrell wrote:IMHO, the two biggies are generics and the improved for-loop. Well, three if you count the much better auto-boxing support.


    Four if you count enums...
    Campbell Ritchie
    Sheriff

    Joined: Oct 13, 2005
    Posts: 38087
        
      22
    New memory model and lots of new classes for concurrency. I think that's six now.
    Ove Lindström
    Ranch Hand

    Joined: Mar 10, 2008
    Posts: 326

    Add Varargs and we are on seven.

    Pat Farrell
    Rancher

    Joined: Aug 11, 2007
    Posts: 4646
        
        5

    Campbell Ritchie wrote: lots of new classes for concurrency.

    I disagree. Sure they are nice, but anyone who cares about concurrency has a copy of Henry's Threads book, and it contains source code for classes with all the same functionality. I don't think adding a few library classes to the SE JDK, when you already have working versions of them, counts as a big deal.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: From Java 1.4.2 to Java 6
     
    Similar Threads
    Differences between Java 1.4.2 and Java 5
    Just found JavaRanch
    help out the newbie
    Swing Apps Hang
    what do I need to to know?