Simple to the point, great instructor and value for money.... 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

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

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
Locations
Watch 3-minute Demo Video
of Live Online Training:
Learn the benefits of online training with Webucator

Free Webinars

A Crash Course in CSS

Wed, 3/21 1:00 PM EST

Project Management Institute Partner

Webucator is a Registered Education Provider (R.E.P.) approved by PMI to issue professional development units (PDUs) for our training courses.

© Webucator, Inc. All rights reserved. | Toll Free: 1-877-932-8228 | From outside the USA: 315-849-2724| Fax: 315-849-2723