Business Objects Java Reporting Component SDK Sample Applications
All Sample Applications
Java_JRC_Desktop_Export_Report_to_disk_PDF
This desktop sample demonstrates how to export a report to a stream (server-side exporting) and then how to use the Java I/O libraries to write the exported output to the local file system.17 Apr 2009
Java_JRC_Desktop_View_Report_and_set_database_logon
This desktop JRC sample demonstrates how to set a report's database logon credentials before viewing the report.17 Apr 2009
Java_JRC_Desktop_display_connection_info
This desktop sample demonstrates how to obtain the connection information stored in two report files and compare them side by side. The sample writes all of the connection info properties to a static HTML file that can be viewed in a web browser.17 Apr 2009
Java_JRC_Desktop_modify_Database_Connection
This Desktop JRC sample demonstrates how to change the reporting database at run time.17 Apr 2009
Java_JRC_Desktop_set_pojo_datasource
This desktop JRC sample demonstrates how to push a run-time Plain Old Java Object (POJO) to a report as a Java Resultset. NOTE: The POJO API provided is a sample for converting plain old Java objects into Java Resultsets. The sample POJO API is provided "as is" and is not supported by Business Objects technical support.17 Apr 2009
Java_JRC_Export_And_Combine_PDF
This sample demonstrates how to export multiple reports to PDF and combine the PDF's. It uses the iText library to combine the PDF's. iText can be found here: http://www.lowagie.com/iText/download.html Please note that iText is not a part of the Business Objects SDK.17 Apr 2009
Java_JRC_Pass Date Range Param
This Java Web sample demonstrates how to pass a ranged date parameter to a report.17 Apr 2009
Java_JRC_Use_CrystalImageCleaner
This sample application demonstrates how to open up a report that contains saved data using the JRC 10 and use the Crystal Image Cleaner to ensure that temporary files used by the viewer are removed periodically17 Apr 2009
This sample demonstrates how to launch a report in the zero-client DHTML viewer (CrystalReportViewer).17 Apr 2009
Java_JRC_export_and_set_db_logon
This sample application demonstrates how to export a report using the ReportExportControl and logon to a reporting database using the JRC. The sample report jrc_export_with_logon.rpt uses a JDBC connection to the Pubs SQL Server database.17 Apr 2009
Java_JRC_export_and_set_parameters
This sample application demonstrates how to pass parameters to a report and log on to a secure database using the Java Reporting Component (JRC) before exporting the report to PDF.17 Apr 2009
Java_JRC_export_report_to_browser_or_disk_PDF
This sample demonstrates how to export a report to a stream (server-side exporting). The sample then demonstrates how to use the Java I/O libraries to write the exported result to the local file system or the browser.17 Apr 2009
Java_JRC_intercept_viewer_drilldown_event
This sample demonstrates how to intercept the drilldown event on the viewer in the JRC DHTML viewer17 Apr 2009
Java_JRC_modify_Database_Location_For_Stored_Proc
This sample demonstrates how to change database location for a report based off of a stored procedure.17 Apr 2009
Java_JRC_modify_command_table_with_parameter
This sample demonstrates how to change the connection properties of a command table that has parameters17 Apr 2009
Java_JRC_modify_datasource_on_oracle_JNDI
This sample demonstrates how to change the database location for a report based off of an oracle JNDI connection17 Apr 2009
This sample demonstrates how to print a report directly to a printer (server-side printing).17 Apr 2009
Java_JRC_set_discrete_parameter_value
This sample application shows how to pass a discrete string parameter to a report using the Java Reporting Component (JRC).17 Apr 2009
Java_JRC_set_multi_value_parameter
This sample application demonstrates how to pass multiple values to a parameterized report using the Java Reporting Component (JRC)17 Apr 2009
Java_JRC_set_parameters_and_database_logon
This sample application demonstrates how to pass values to a parameterized report and database credentials to a secure database using the Java Reporting Component (JRC)17 Apr 2009
Java_JRC_set_resultset_datasource
This sample demonstrates how to push a runtime Java Resultset to a report as a datasource.17 Apr 2009
Java_JRC_set_sub_report_parameters_string_and_integer
This sample application demonstrates how to pass values to a parameterized report that contains a subreport using the Java Reporting Component (JRC)17 Apr 2009
Java_JRC_set_subreport_parameters_all_types
This sample application demonstrates how to pass all types of values to a parameterized report containing a subreport using the Java Reporting Component (JRC)17 Apr 2009
Java_JRC_view_report_and_set_database_logon
This sample demonstrates how to set the report's database logon credentials before viewing a report.17 Apr 2009
Java_JRC_view_report_and_set_report_parameters
This Java Web sample demonstrates how to pass parameters values to a report and then view the report (including subreports). The sample contains utility functions that demonstrate how to set parameter values for complex parameter types such as discrete range and multi-value range parameters.17 Apr 2009
Java_JRC_view_report_using_tag_library_advanced
This sample demonstrates how to display a report using the tag library as well as toggling some of the viewer options17 Apr 2009
Java_JRC_view_report_using_tag_tag_library_basic
This sample demonstrates how to display a report using the tag library17 Apr 2009
This Eclipse plug-in sample illustrates how to implement a Wizard for Crystal Report creation including adding Text, Picture and Line Objects16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to export a Crystal Report to Excel Data Only using the Crystal Reports Java SDK.16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to export a Crystal Report to PDF using the Crystal Reports Java SDK.16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to inject a POJO collection into a Crystal Report16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to print a Crystal Report on a server-side printer using the Crystal Reports Java SDK16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to inject a java.sql.ResultSet into a Crystal Report.16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to set Crystal Report database credentials and export to PDF.16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to set Crystal Report parameter field values and export to PDF using the Crystal Reports Java SDK.16 Apr 2009
This Java Server Pages (JSP) sample demonstrates how to view a Crystal Report using the Crystal Reports Java SDK.16 Apr 2009
This sample shows how to copy an image in a report to another location in the report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a line to a report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a parameter to a report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a sort to a report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a result field to a report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a section to a report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a special field such as the print date or page n of m field to a report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a subreport to a report using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to add a text field to a report using the Report Creation API (RCAPI)15 Apr 2009
CRJava_Designer_Branding_Wizard
This Eclipse plug-in sample illustrates how to implement a Wizard for Crystal Report creation including adding Text, Picture and Line Objects15 Apr 2009
This sample shows how to change the font for a field on a report using the Report Creation API (RCAPI)15 Apr 2009
CRJava_create_report_from_scratch
This sample shows how to create report from scratch using the Report Creation API (RCAPI)15 Apr 2009
This sample shows how to change the database location for a report using the replaceConnection method15 Apr 2009
This sample shows how to change the paper size for a report15 Apr 2009
