Lesson 2: Publishing report sets

JReport Enterprise Server is only able to run report sets that have been published to it. As you saw in the previous lesson, some report sets are automatically published to JReport Enterprise Server, in the Public Reports folder. In this lesson we publish the report sets in the JinfonetGourmetJava.cat catalog.

A report set must initially be published along with its catalog. Updates to the report set can be published independently, as long as the catalog associated with the report set remains published. This allows you to quickly and easily install a change to a report set in the runtime environment.

In this lesson, you can publish the report sets that you developed in previous trails. If you have not completed the previous trails, you can publish the SampleReports catalog included with JReport.

  1. On the JReport Console > Reports page, open the My Reports folder.
  2. Click Publish > Publish to Local Server on the task bar of the Reports page.

    The Publish to Local Server page is displayed:

  3. From the Resource Type drop-down list, select Folder with Contents if it is not already selected.

    The Resource Type list allows you to specify the resource, the catalog, report set, or folder with these objects, to be published to the My Reports or Public Reports folder of JReport Enterprise Server.

  4. Click the Browse button next to the From Folder field, and then browse to select the <install_root>\Demo\JinfonetGourmetJava directory. By default, <install_root> is C:\JReport\Server.
  5. In the Resource Node Name field enter JinfonetGourmetJava.
  6. In the Resource Description field enter Jinfonet Gourmet Java catalog and report sets.
  7. Click OK to publish the resources.

    After the resources have been successfully published, the JinfonetGourmetJava folder is displayed in the resource tree.

  8. Click the folder name JinfonetGourmetJava and the report sets in the folder are listed:

Lesson 2 summary

This lesson described how resources, catalogs and report sets, are published using JReport Console.