Develop > Presentation layer > Customize marketing > Work with Product Advisor
Java beans in Product Advisor
Product Advisor provides several beans for you to use when creating the display pages. These include static data beans, which are responsible for retrieving data from the server, such as merchant or customer information. Static data beans are used when you plan to render the retrieved data using very little formatting on the page, generally as straight text. Data beans are rendered using scriptlets.
Dynamic data beans also retrieve data from the server (sometimes the same data as a data bean), however dynamic data beans are used when you plan to display the data in a complex way, using tables or forms, for example. Widget beans display the data from the dynamic data beans.
- Dynamic data beans
Dynamic data beans render complex elements on Product Advisor display pages, such as tables, lists or trees.
- Widget beans
Widget beans render data for Product Advisor from dynamic data beans. For every dynamic data bean, there is a corresponding widget bean that provides the dynamic HTML. The dataBeanName parameter is required for all widget beans. This parameter is required to link a widget bean to the correct dynamic data bean.
Related concepts