This documentation covers the Viewer Java SDK. The Viewer Java SDK contains lightweight components intended to provide web developers with versatile tools for displaying reports inside JSP pages using HTML or DHTML. These components offer properties that you can use to control actions such as displaying buttons or displaying a group tree, page, or toolbar. They also support event handling, exporting, printing, displaying multiple viewers in the same page, and both automatic and developer-specified prompting for database or parameter information.

These lightweight components include the web reporting Java viewers. All web reporting Java viewers inherit functionality from the {@link com.crystaldecisions.report.web.viewer.ReportServerControl ReportServerControl} Object. The viewers do not require frames and can co-exist with other HTML that you wish to display on the same page as the report. Each viewer provides different capabilities.

Viewer Corresponding Object Description
Used internally by the Java viewers. {@link com.crystaldecisions.report.web.viewer.ReportServerControl ReportServerControl} Provides the ability to log on to the database or Crystal Enterprise, pass parameters or the selection formula, and define the report source.
Java Report Export Control {@link com.crystaldecisions.report.web.viewer.ReportExportControl ReportExportControl} Provides exporting functionality including the ability to preview an exported report or save an exported report to disk.
Java Report Page Viewer {@link com.crystaldecisions.report.web.viewer.CrystalReportViewer CrystalReportViewer} Provides basic web reporting viewer capabilities.

To create or modify a particular report you need the Report Application Server (RAS) and the RAS SDK. For details, see the Crystal Reports for BEA WebLogic Workshop Developer's Guide.

Note: It is recommended that you perform your own garbage collection in your web applications when using the Viewer Java SDK. This involves calling the appropriate dispose methods and ensuring that you use the CrystalImageCleaner class to remove temporary image files used by the viewer.