In the enterprise reporting scenario, several common activities are simplified through the use of JavaServer Faces components and managed beans.
The JSF UI components are primarily concerned with presentation, and rely on managed beans to provide the underlying business logic.
Note: An Enterprise ItemsGrid displays EnterpriseItems, such as reports, folders, and users. The Enterprise ItemsGrid uses an Enterprise ItemsColumn to display particular attributes of these EnterpriseItems, such as name, owner, and schedule status.
Managed beans contain the data and underlying logic of the application. The beans can query the enterprise system for entities requested by the presentation layer. The enterprise system encapsulates the requested entity into an InfoObject and returns it to the bean. The bean exposes the InfoObject properties through a set of bean properties. This architecture simplifies development and shields the presentation layer from changes to the enterprise system implementation.
Without an Identity bean, the JSF UI components cannot communicate with the Crystal Enterprise system. The Identity bean encapsulates user authentication credentials and shares this Crystal Enterprise session information with the JSF components and managed beans.
The EnterpriseItem bean is bound to a JSF UI component as the source for a single Crystal Enterprise object, such as a report, a folder, or a program. When accessing the Crystal Enterprise system, the EnterpriseItem bean requires valid authentication. For this reason, it has a property to reference the Identity bean. This property also allows the Path, ItemsGrid, ItemsColumn, or ReportPageViewer component to indirectly reference the Identity bean for authentication.
The EnterpriseItems bean is the source for a collection of Crystal Enterprise objects, such as reports, folders, or programs.
When accessing the Crystal Enterprise system, the EnterpriseItems bean requires valid authentication. For this reason, it has a property to reference the Identity bean. This property also allows the ItemsGrid and ItemsColumn components to indirectly reference the Identity bean for authentication.
Business Objects http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ |