35
3
comPonent models in Java
3.1 Introduction
A component is a reusable software entity. A component is a deployable piece of
software that can be independently developed and maintained. In Chapter 2, we
learned the need for componentizing applications to get the benefits of reusability and
modularity. We also looked at how the age calculation application can be componen-
tized using a simple component model using a whiteboard query-based component
model using a whiteboard pattern and a component repository.
In this chapter, we will try to understand popular component models in Java and
briefly compare the features provided by them. Traditionally, to explain component-
based software engineering (CBSE) principles, popular component frameworks l