Skip navigation

Great CDI tutorial

Posted by lightguard Feb 23, 2012

I came across a very well written and thorough tutorial about the basics of dependency injection using CDI the other day. The tutorial doesn't go into detail about scopes, interceptors, decorators, or extensions. Rick Hightower (the author) does an amazing job at describing, explaining and demonstrating (with real code you can download and run yourself) explaining @Inject, qualifiers, alternatives and producers. There is also another tutorial he has written to explain interceptors. I'd love to see more tutorials covering decorators, scopes, events and extensions.


Excellent job Rick! I hope to see more, and also would like to extend the invitation to contribute the tutorials to DeltaSpike as some introductory material about CDI.