Sunday, August 12, 2007

Introduction to Java 5.0 Annotations

clipped from www.javabeat.net

Introduction to Java 5.0 Annotations


Annotations in Java is all about adding meta-data facility to the Java Elements. Like Classes, Interfaces or Enums, Annotations define a type in Java and they can be applied to several Java Elements. Tools which will read and interpret the Annotations will implement a lot of functionalities from the meta-information obtained. For example, they can ensure the consistency between classes, can check the validity of the paramters passed by the clients at run-time and can generate lot of base code for a project. This article provides you a complete guide detailing the various aspects of Annotations. The topics covered in this article are as follows,

  • Page - 1Introduction to Java 5.0 Annotations
  • Page - 2 Built-in Annotations in Java
  • Page - 3User-defined Annotations
  • Discuss Here
  • 0 comments: