Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 8. Annotation-driven development... > An overview of annotations

8.1. An overview of annotations

Annotations define metadata (data about data) that’s specified in the application source code. You can think of annotations as instructions to the compiler and runtime environment about tasks that should be performed during compilation or at runtime.

Support for annotations was added to Java in Java 5. Annotations are represented by the @ symbol followed by the name of the annotation (like @Controller or @Resource).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint