JavaBeans Are Objects

Swing is just one of the areas where Java uses packages of classes to assist in the development of software. Because objects are the complete packages we describe, we can extrapolate this concept to that of components. There are many definitions of components; depending on what language or model you're using, you may run into different terms. I teach students that they might encounter one or more of these terms:

  • Component

  • Control

  • Widget

  • Bean

Typically, the term control is associated with Microsoft products like Visual Basic. The term JavaBean, or simply bean, is associated with Java. In his book Building Web Applications with UML, Jim Conallen defines the JavaBean component model as consisting of the following:

  • Introspection ...

Get Object-Oriented Thought Process, The, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.