ABSTRACT

In this chapter, we present an introduction to software components using the Java platform with hands-on examples. We present various component constructs available in Java. We build an example application using the basic component constructs available out of the box in the Java Standard Edition (Java SE) platform. We discuss the pros and cons associated with using out-of-the-box component constructs in Java. We enhance the example application and demonstrate ways of improving the basic component constructs. We show that the use of a component model and component framework makes the job of the component developer and assembler easy.