Annotations in Tiger, Part 1, Add metadata to Java code

How to use Java 5's built-in annotations

From the developerWorks archives

Brett McLaughlin

Date archived: December 19, 2016 | First published: September 02, 2004

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. Part 2 covers custom annotations.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Java development
ArticleID=86673
ArticleTitle=Annotations in Tiger, Part 1: Add metadata to Java code
publish-date=09022004