Dreamweaver

Working with JavaBeans

JavaBeans components are architectural elements of multitier JSP applications. JavaBeans are typically used as part of a middle business-logic layer meant to separate the presentation logic from data-access logic. In these applications, the JavaBeans, (also referred to as beans) not the JSP pages, contain the logic that directly accesses the database.

In Dreamweaver, JavaBeans components are treated as sources of dynamic content for JSP pages, and appear in the Bindings panel. You can double-click JavaBeans in the Bindings panel to view their properties, and then drag the properties to the page to create dynamic data references.

You can also define a JavaBeans collection (a set of JavaBeans) as a source of dynamic content. However, Dreamweaver supports only repeating regions and dynamic bindings when using JavaBean collections.