Thursday Jan 24, 2013

New OBE Series: Contexts and Dependency Injection (CDI)

OBE of the Month: CDI Series

This Oracle By Example (OBE) series covers three features of Contexts and Dependency Injection (CDI) introduced in Java EE 6: Stereotypes, Interceptors and Events. CDI was introduced with Java Platform, Enterprise Edition (Java EE) 6 as JSR-299.

The Contexts part of CDI allows beans to share and participate in the life cycle of another bean, while the Dependency Injection part of CDI allows beans to get a reference to an instance of another bean simply by injecting it. CDI power is the ability to loosely-couple classes by removing the instantiation process and simultaneously enforcing strong-type checking.

Check out all of the great free content on the Oracle Learning Library and our new cool look-and-feel!

About

Information relating to Java training development and events.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today