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!

Comments:

I am a regular reader of this blog. This blog is very useful for me to improve my knowledge and also to know about upgrade versions. Now we are working on Java, I have small doubt that "Contexts and Dependency Injection for the Java EE Platform introduces a standard set of component management services to the Java EE platform." is this main feature of CDI.

Posted by Svrtechnologies on January 25, 2013 at 01:32 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
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