Annotations in Java
Annotations, a new feature in J2SE 5.0 (Tiger), brings a much-needed metadata facility to the core Java language. In this first of a two-part series, author Brett McLaughlin explains why metadata is so useful, introduces you to annotations in the Java language, and delves into Tiger’s built-in annotations.
Annotations in Tiger, Part 2: Custom Annotations
In this article Brett McLauglin shows how to create custom annotations and then how to annotate your annotations to document and customize your code further.