Yakov Fain will be making a presentation on using the new annotation feature in Java 5.0.
In some cases, in addition to Java classes, you need to provide companion interfaces, for example an EJB class and its home and remote interfaces.
Often, additional supporting information is provided in the form of deployment descriptors.
Java 5.0 introduces an alternative way of annotating a Java class with required attributes right in the program itself.
Even in earlier versions of Java you could have seen a syntax like @deprecation which would indicate that a method is deprecated, but now you can define your own annotations using the Annotation Processing Tool.
Yakov will show you how to use the pre-defined annotations and how to create your own as well.
|