Overview of CDI (original) (raw)

CDI is a set of services that, used together, make it easy for developers to use enterprise beans along with JavaServer Faces technology in web applications. Designed for use with stateful objects, CDI also has many broader uses, allowing developers a great deal of flexibility to integrate various kinds of components in a loosely coupled but typesafe way

CDI 2.0 is specified by JSR 365. Related specifications that CDI uses include the following:

The most fundamental services provided by CDI are as follows.

In addition, CDI provides the following services:

A major theme of CDI is loose coupling. CDI does the following:

Along with loose coupling, CDI provides strong typing by