JavaBeans Components in JSP Pages



JavaBeans Components in JSP Pages

Stephanie Bodoff

In This Chapter

15.1 JavaBeans Component Design Conventions

15.2 Why Use a JavaBeans Component?

15.3 Creating and Using a JavaBeans Component

15.4 Setting JavaBeans Component Properties

15.5 Retrieving JavaBeans Component Properties

Javabeans components are Java classes that can be easily reused and composed together into applications. Any Java class that follows certain design conventions can be a JavaBeans component.

JavaServer Pages technology directly supports using JavaBeans components with JSP language elements. You can easily create and initialize beans and get and set the values of their properties. This chapter provides basic information about JavaBeans components and the JSP language elements for accessing JavaBeans components in your JSP pages. For further information about the JavaBeans component model see http://java.sun.com/products/javabeans.