Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommendation on where I should start reading about CDI (Weld)

I found this CDI/Weld: book or resource recommendation, and yes it is the same question but it is "old" now so I wonder if it has come any updates on this question?

I am in the process of learning Java EE 6 so I am looking for books/tutorials that explains it from the basic. I found this:

http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/pdf/weld-reference.pdf
&
http://docs.jboss.org/cdi/tck/reference/1.0.4.SP1/pdf/jsr299-tck-reference-guide.pdf

I don't know which of them I should read (probably both, but I need to start somewhere. Or are there other places I should start instead?

like image 622
LuckyLuke Avatar asked Oct 16 '11 16:10

LuckyLuke


2 Answers

The following articles may not be very new but I think they are useful if you want to learn about CDI:

  1. Dependency Injection in Java EE 6: Part I
  2. Dependency Injection in Java EE 6: Part II
  3. Dependency Injection in Java EE 6: Part III
  4. Dependency Injection in Java EE 6: Part IV
  5. Dependency Injection in Java EE 6: Part V
  6. Dependency Injection in Java EE 6: Part VI
like image 197
Mr.J4mes Avatar answered Nov 15 '22 12:11

Mr.J4mes


Start with the Weld tutorial, is way easier to read and targets the principles of CDI in a much easier way than the TCK reference (even though the reference is a good for quick references, just as the name suggests).

Unfortunately, there are still (10/2011) no books available. "Enterprise JavaBeans 3.1" / Andrew Rubinger & Bill Burke / O'Reilly is still the best deal should you prefer offline reading. :-(

like image 25
Jan Groth Avatar answered Nov 15 '22 12:11

Jan Groth