Book Image

Java EE 7 Development with WildFly

Book Image

Java EE 7 Development with WildFly

Overview of this book

Table of Contents (21 chapters)
Java EE 7 Development with WildFly
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we provided an introduction to CDI. We covered how JSF pages can access CDI-named beans as if they were JSF Managed 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 potentiality.

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.