This class is something I recommend taking. It is very informative and has a wide range of options t... More Testimonials »

Migrating to Java 6

Delivery Options

Class Description

Class Overview

This one-day course shows Java-1.4 developers the new language features in Java 5.0, and, more importantly, illustrates best programming practices as they've been affected by these new features. This is an accelerated course that assumes long experience with earlier versions of Java. Students will leave familiar with various new bits of Java-5 syntax, and also with an understanding of the exciting new options they have for API design and general-purpose Java coding.

Class Goals

  • Take advantage of ease-of-use features including the simplified for loop, auto-boxing, and varargs.
  • Use and develop enumerated types, including those with their own state and inherent behavior.
  • Use generics effectively when coding to the Collections API.
  • Develop one's own generic types.
  • Use Java annotations as defined by other APIs, and develop one's own.
  • Understand issues of compatibility and migration in mixed 1.4/5.0 environments.

Class Outline

  1. Basic Language Features
    1. Goals of Java 5.0
    2. Enumerated Types
    3. Variable Parameter Lists
    4. Formatted Output
    5. Static Imports
    6. Simplified for Loop
    7. Stateful and Behavioral Enumerations
  2. Generics, Collections, and Algorithms
    1. Using Generics
    2. Generics in the Collections API
    3. Auto-Boxing
    4. Convertability of Generics
    5. Wildcards
  3. Annotations
    1. Annotations
    2. Aspect-Oriented Programming
    3. Native Annotations
    4. The Java Annotations Model
    5. What Can Be Annotated
    6. Annotations vs. Descriptors
  4. Compatibility and Migration
    1. Compatibility: Compiler and Runtime
    2. Mixing 1.4 and 5.0 Classes
    3. Compatibility with Generics: Type Erasure
    4. Compatibility with Enumerations and Varargs
    5. Migrating 1.4 Code to 5.0
    6. Runtime Type Safety with "Checked" Collections

Class Materials

All students receive a course manual or book and all the class examples.

Students in private onsite classes will also receive:

Class Prerequisites

Experience in the following areas is required:

  • Plenty of experience with Java programming using the 1.4 SDK is essential.

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.


  • Java ®, all Java-based marks, Hibernate ®, and all Hibernate-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries.
Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Training Classes
Locations
Live eLearning

Like a class you would go to, but you don't have to go anywhere. More...

Customized Onsite Training

The trainer comes to you and delivers a class customized for your team. More...

Self-Paced eLearning

Our least expensive option. You proceed through the course entirely at your own pace. More...

Reference Library
Partner Programs
© Webucator, Inc. All rights reserved. | Toll Free: 877-932-8228 | UK: 0808-101-3484 | From outside the USA: 315-849-2724| Fax: 315-849-2723