8.4. Naming Patterns for Bean Properties and Events
In this section, we’ll cover the basic rules for designing your own beans. First, we want to stress there is no cosmic beans class that you extend to build your beans. Visual beans directly or indirectly extend the
Component class, but non-visual beans don’t have to extend any particular superclass. Remember, a bean is simply any class that can be manipulated in a builder tool. The builder tool does not look at the superclass to determine the bean nature of a class, but analyzes the names of its methods. To enable this analysis, the method names for beans must follow certain patterns.