Using Metadata in J2SE 5.0


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To explain what metadata is and how it can be used to provide annotation source to third-party tools and to outline J2SE 5.0 tool changes

Target Audience
Existing developers who wish to gain a quick handle on the new features and enhancements that are introduced in Java 5.0(codenamed "Tiger")

Prerequisites
Proficency in a previous version of the Java language - preferably Java 1.4; failing this, a strong understanding of OO programming techniques and development experience in an OO language

Expected Duration (hours)
2.0

Lesson Objectives

Using Metadata in J2SE 5.0

  • associate Java's retention policies and built-in annotations with their corresponding features and functionality.
  • specify the code to annotate an overriding method and a deprecated method, and to suppress compiler warnings.
  • specify the code to declare custom and meta-annotations.
  • specify the code to inspect and represent a custom annotation, write an annotation processor, and run the processor against a set of annotations.
  • create and implement a custom annotation for a given scenario.
  • associate the new features of the Java compiler, the Java interpreter, and the javadoc tools with their corresponding functionality.
  • recognize the new features provided with J2SE 5.0 for Java Web Start, the JPDA, and the JVMTI, and identify the function of the new Instrumentation interface.
  • Course Number:
    220592_eng