Thursday, February 2, 2012

Annotations

Annotations are important nowadays. When I started learning Java, annotations have not been implemented yet. Nowadays, annotations are everywhere and it will be silly if I did not at least learn about it.

Annotations  ( from the Java Tutorials)

- It is used as information for the compiler - can be used to detect errors or suppress warnings
- Can be sued to generate code, xml files
- runtime processing annotations are available to be examined  at runtime.

Java Annotations can be used with Java Persistence. However, I am still unsure how to do this.

No comments:

Post a Comment