In this chapter, we covered NetBeans support for Contexts and Dependency Injection (CDI), a new Java EE API introduced in Java EE 6. We provided an introduction to CDI, and explained additional functionality that the CDI API provides over standard JSF. We also covered how to disambiguate CDI injected beans via CDI Qualifiers. Additionally, we covered how to group together CDI annotations via CDI Stereotypes. Finally, we saw how CDI can help us with Aspect-Oriented Programming via Interceptor Binding Types.