O'Reilly logo

Java EE 7 First Look by NDJOBO Armel Fabrice

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Annotations and CDI

Right up to this moment, we had to use annotations and dependency injections without trying to understand how they work. This chapter therefore aims to present and highlight improvements in the relevant APIs. The APIs concerned are:

  • Common annotations for the Java Platform 1.2
  • Contexts and Dependency Injection 1.1

Common annotations for the Java platform

The common annotations for the Java platform 1.2 Specification was developed under JSR 250. This section just gives you an overview of improvements in the API. The complete document specification (for more information) can be downloaded from http://jcp.org/aboutJava/communityprocess/mrel/jsr250/index.html.

The goal of this specification

Annotations are a form of metadata ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required