It is very easy to set and retrieve JavaBean properties with JSPs. A JavaBean is a type of Java class. In order for a class to qualify as a JavaBean, it must possess the following attributes:
publicconstructor taking no arguments.
Do not confuse JavaBeans with Enterprise JavaBeans. They are not the same thing. Enterprise JavaBeans are covered in detail in Chapter 9.
All examples in this section will use the following JavaBean to illustrate JSP and JavaBean integration:
package net.ensode.glassfishbook.javabeanproperties; ...