20.6. Using JavaBeans with JSP
The JavaBeans API provides a standard format for Java classes. Visual manipulation tools and other programs can automatically discover information about classes that follow this format and can then create and manipulate the classes without the user having to explicitly write any code.
Full coverage of JavaBeans is beyond the scope of this book. If you want details, pick up one of the many books on the subject or see the documentation and tutorials at http://java.sun.com/beans/docs/. For the purposes of this chapter, all you need to know about beans are three simple points:
A bean class must have a zero-argument (empty) constructor. You can satisfy this requirement either by explicitly defining such a constructor ...