Skip to main content

Roger Kitain: Using CDI and Dependency Injection for Java in a JSF 2.0 Application

Roger Kitain has posted a new Enterprise Tech Tip, Using CDI and Dependency Injection for Java in a JSF 2.0 Application:

This Tech Tip covers the intersection of three powerful technologies that are part of the Java EE 6 platform: JSR 299: Contexts and Dependency Injection, JSR 330: Dependency Injection For Java, and JSR 314: JavaServer Faces 2.0. JSR 299: Contexts and Dependency Injection (CDI) defines a set of services for the Java EE environment that makes applications much easier to develop. It provides an architecture that allows Java EE components such as servlets, enterprise beans, and JavaBeans to exist within the lifecycle of an application with well-defined scopes...

Source:
Community: Java Enterprise