O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using JavaBeans with JSPs

JavaBeans are Java classes coded using a set of methods with a standard naming convention. With these classes it is assumed that class data members (or attributes) will be declared with private accessibility and will be manipulated using only get and set methods; the get and set methods are named with the naming standard get<attribute_name> and set<attribute_name>, where the attribute name is the name of the attribute or private data member that is to be set.

These getXX and setXX methods are sometimes referred to as accessor and mutator methods of the class. JavaBeans do not require the implementation of a Java interface and do not need to be a subclass of any particular class; they are just another Java class with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required