JavaBeans

A JavaBean is an object instantiated from a Java class that obeys certain restrictions. These restrictions make it easier to use JavaBean objects. (See p. 1000 in the text.) In other words, a JavaBean is more or less a simple repository of variables and values that can be accessed by getxx() and setxx() (or isxx()).

To see a JavaBean in action:

Things to notice: