Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. Contexts and Dependency Injection (CDI)

Chapter 8. Contexts and Dependency Injection (CDI)

Contexts and Dependency Injection (CDI) is a new addition to the Java EE specification. CDI can be used to simplify integrating the different layers of a Java EE application. For example, CDI allows us to use a session bean as a managed bean, allowing us to take advantage of EJB features such as transactions directly in our managed beans.

In this chapter we will cover the following topics:

  • Introduction to CDI
  • Qualifiers
  • Stereotypes
  • Interceptor Binding Types

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint