Java Reference
In-Depth Information
Summary
In this chapter, we provided an introduction to Contexts and Dependency Injection.
We covered how JSF pages can access CDI named beans as if they were JSF Man-
aged Beans. We also covered how CDI makes it easy to inject dependencies into our
code via the @Inject annotation. Additionally, we explained how we can add another
library of the JBoss ecosystem (RichFaces) uncovering just one aspect of its potenti-
ality.
Until now we have worked with in-memory data, so it's time to introduce storage for
our CDI applications, using the Java Persistence API, which is the theme of the next
chapter.
Search WWH ::




Custom Search