November 2005
Intermediate to advanced
304 pages
6h 14m
English
Java has the ability to describe classes using metadata within your source code. This metadata, known as an annotation, is defined in the class along with your source code but is mostly ignored by the compiler and usually processed with some other tool. The compiler will include this data in the compiled class files but in an area outside the generated code. If you have written JavaDoc with a @Deprecated tag
(to mark a method as being deprecated for documentation purposes) or have seen JavaDoc generated using it, then you have used annotations. Another annotation from Javadoc is @Author ...
Read now
Unlock full access