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 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, as well as the new features provided with Java EE 5.
Upon successful completion of this course, the student will be able to:
- 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 environments.
- Develop annotation processors according to the new standard API, and plug them into Java compilers and other tools.
- Gain a general understanding of new and changed aspects of the Java EE 5 specification.
Experience with Java programming using the 1.4 SDK is essential.