A sophisticated bean will expose lots of different properties and events. Properties can be as simple as the
fileName property that you saw in
FilePickerBean or as sophisticated as a color value or even an array of data points—we’ll encounter both of these cases later in this chapter. The JavaBeans specification allows four types of properties, illustrated here by various examples.