To explain what metadata is and how it can be used to provide annotation source to third-party tools and to outline J2SE 1.5 tool changesLearning Objectives
- Introducing generics - identify the advantages and disadvantages of using generics in code, and outline how generics are used to make raw code type safe.
- Using generics - specify the generic, type safe version of a given piece of legacy code.
- Building a simple generic class - specify the code involved in building a generic class for a given scenario.
- Implementing generic class hierarchies - specify the code required to declare a generic subclass, test generic object types, and cast a generic object.
- Developing applications using generics - convert a given application's legacy code into a generic type safe equivalent.
- Introducing annotations - associate Java's retention policies and built-in annotations with their corresponding features and functionality.
- Using Java's standard annotations - specify the code to annotate an overriding method, a deprecated method, and to suppress compiler warnings.
- Declaring custom and meta-annotations - specify the code to declare custom and meta-annotations.
- Implementing custom annotations - specify the code to inspect and represent a custom annotation, write an annotation processor, and run the processor against a set of annotations.
- Developing custom annotations - create and implement a custom annotation for a given scenario.
Programmers with an understanding of procedural programming concepts who want to learn Java and object-oriented programming; programmers proficient in another object-oriented programming language who want to move to Java; programmers experienced in the Java language who want to take the Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0 exam