views:

37

answers:

2

Hi all,

I was wondering if there is already a book available, more or less dedicated to CDI (Contexts and dependency injection - JSR299).

Dependency Injection by Dhanji Prasanna is a good book, but it more focussed on JSR330 and Spring DI.

Thank you, J.

A: 

At the time of writing this, I'm not aware of any book focusing on CDI only and I still consider Weld to have some of the best resources available:

But not strictly books.

Pascal Thivent
A: 

At the moment the book Dependency Injection by Dhanji R. Prasanna is the only DI book. It's a general introduction text on DI patterns that focuses on the Guice and Spring implementations.

If JSR299 and JSR330 is you’re focus, you could check out some new Java EE 6 titles as these two API’s are part of the new Java EE 6 standard. For example: The Java EE 6 Tutorial: Basic Concepts (4th Edition) as a chapter on DI.

But fore any thorough introduction you best bed is the documentation Pascal Thivent mentions.

Kdeveloper