© Jan Beernink and Arjan Tijms 2019
J. Beernink, A. TijmsPro CDI 2 in Java EE 8https://doi.org/10.1007/978-1-4842-4363-3_2

2. Beans As the Component Model in EE

Jan Beernink1  and Arjan Tijms2
(1)
Dublin, Ireland
(2)
Amsterdam, Noord-Holland, The Netherlands
 

In the previous chapter, you got a glimpse of CDI’s history and how CDI has been positioned as the default component model in Java EE. In this chapter, you’ll take a closer look at this component model as we compare it to some of the other models that are still in Java EE.

What Is a Component Model?

The term component goes back a long time, and like the related word module , it’s a term that’s defined in several different ways. Sometimes the explanations overlap, and sometimes they clash with each ...

Get Pro CDI 2 in Java EE 8: An In-Depth Guide to Context and Dependency Injection now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.