Article on Annotations in Tiger (J2SE 5.0)

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.

http://www-106.ibm.com/developerworks/java/library/j-annotate1/?ca=dgr-jw03j-annotate1

[442 byte] By [powelljgr] at [2007-9-30 17:30:30]
# 1

Yeah, but no one can describe how to use the "apt" tool in a reasonable situation. Is there no way to have apt cycle down through source code and check every class. I realize this is too much to ask Sun. From my perspective, custom annotations are completely useless if I have to hand feed apt every friggin source file.

Looks like if I want to use this, I have to go back to the good old days of putting every .java file into a file and passing in my file of files.

This must be the nostalgia release of apt.

pico303 at 2007-7-6 13:53:32 > top of Java-index,Administration Tools,Sun Connection...
# 2
annotations are evil anyway and shouldn't be used.So making them hard to use is a good way to make sure they're not overused :)
jwenting at 2007-7-6 13:53:32 > top of Java-index,Administration Tools,Sun Connection...