Chapter 14. Contexts and Dependency Injection for the Java EE Platform: Advanced Topics

This chapter describes more advanced features of Contexts and Dependency Injection for the Java EE Platform. Specifically, it covers additional features CDI provides to enable loose coupling of components with strong typing, in addition to those described in “Overview of CDI” in The Java EE 6 Tutorial: Basic Concepts.

The following topics are addressed here:

• “Using Alternatives in CDI Applications” on page 251

• “Using Producer Methods, Producer Fields, and Disposer Methods in CDI Applications” on page 254

• “Using Predefined Beans in CDI Applications” on page 256

• “Using Events in CDI Applications” on page 257

• “Using Interceptors in CDI Applications ...

Get The Java EE 6 Tutorial: Advanced Topics, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.