O'Reilly logo

Java EE 7: The Big Picture by Dr. Danny Coward

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

image

CHAPTER14

Deconstructing Components: Java EE Contexts and Dependency Injection

The Java EE dependency injection service is like the ultimate delivery service for programming: whenever you need an instance of something, you can rely on Java EE dependency injection to get you the right one.

Properly entitled Contexts and Dependency Injection, or CDI for short, this is the state of the art for modularizing applications. Integrated with the Java EE platform, CDI provides many ways to decouple implementations of the elements of a Java EE application. It grew from a desire to make it easier to bring together web components with Enterprise Bean components, ...

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