Migrating to Java 6 Version 6.0 Training

Answers to Popular Questions:

Yes, this class can be tailored to meet your specific training needs.
Yes, we provide Java Programming consulting services.
Yes, group discounts are provided.

Course Description

This course shows Java-1.4 developers the new language features in Java 5 and 6, 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 syntax, and also with an understanding of the exciting new options they have for API design and general-purpose Java 6 coding.
Course Length: 2 Days
Course Tuition: $1090 (US)


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

Course Outline


Module 1. New Features in Java 5

Chapter 1. Ease-of-Use Features

  • Goals of Java 5
  • Simplified for Loop
  • Variable Parameter Lists
  • Formatted Output
  • Static Imports

Chapter 2. Enumerated Types

  • Native Enumerations
  • Ordinal and String Representations
  • Looping Over Enums
  • Stateful and Behavioral Enumerations

Chapter 3. Generics

  • Using Generics
  • Generics in the Collections API
  • Developing Generic Classes
  • Auto-Boxing
  • Convertability of Generics
  • Wildcards
  • Type Erasure
  • Generic Methods
  • What You Can't Do
  • Strong and Weak Suits

Chapter 4. Annotations

  • Annotations
  • Aspect-Oriented Programming
  • Native Annotations
  • The Java Annotations Model
  • What Can Be Annotated
  • Annotations vs. Descriptors
  • Java EE Annotation Examples

Chapter 5. Compatibility and Migration

  • Compatibility: Compiler and Runtime
  • Mixing 1.4 and 5 Classes
  • Compatibility with Generics: Type Erasure
  • Compatibility with Enumerations and Varargs
  • Migrating 1.4 Code to Java 5
  • Runtime Type Safety with "Checked" Collections

Module 2. New Features in Java 6

Chapter 1. Annotation Processors

  • Pluggable Annotation Processors
  • Processing in Rounds
  • Reading the Type Model
  • Validation
  • Generating Code
  • Reading Resources
  • Creating Source Files

Chapter 2. XML and Web Services APIs

  • The Java API for XML Binding
  • Binding vs. Parsing
  • Generating an Object Model
  • Working with JAXB Object Models
  • JAXB Contexts, Marshallers, and Unmarshallers
  • Interoperable Web Services
  • SOAP and WSDL
  • The Java API for XML Web Services
  • Generating Proxies from WSDL
  • Using Generated Proxies
  • The Role of JAXB
  • Building Client Applications

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.