O'Reilly logo

The Java EE 6 Tutorial: Advanced Topics, Fourth Edition by Ricardo Cervera-Navarro, William Markito, Devika Gollapudi, Ian Evans, Eric Jendrock, Kim Haase, Chinmayee Srivathsa

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 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 ...

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