Abstract
One of the most important features in Java EE is Contexts and Dependency Injection (CDI). CDI helps bind the web tier and the business logic or transactional tier of the Java EE platform together. CDI makes it easy to expose business objects for use within JSF web views so that developers can directly bind JSF view widgets to public JavaBean members and methods. It also provides facilities that make it possible to inject JavaBean classes and resources into other Java objects in a type-safe and efficient manner.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Josh Juneau
About this chapter
Cite this chapter
Juneau, J. (2013). Contexts and Dependency Injection. In: Java EE 7 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4426-4_12
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4426-4_12
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4425-7
Online ISBN: 978-1-4302-4426-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books