Skip to main content

Contexts and Dependency Injection

  • Chapter
  • First Online:
Java EE 7 Recipes
  • 2462 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics