A report can only exist within a catalog. Therefore you must create and open a catalog before you create or edit a report.
A catalog is represented at the operating system level as a directory that contains the catalog file (.cat) as well as the other report objects.
To create a catalog:
If necessary, JReport Designer will prompt you to save changes to the current open catalog. Only one catalog can be open at a time.
The Catalog Browser displays with a data source created for the catalog. You can then set up the required connections to connect with the data source. A data source can be connected to multiple connections. For details about setting up connections, see Data Source Connections.
Note: The catalog name must include the extension (.cat or .xml) and the directory you choose must not already contain a catalog file.
JReport Designer supports the Multiple Data Sources feature, which means in one catalog, you can add as many data sources as you need.
To add another data source to a catalog, follow the steps below:
When multiple data sources are created in a catalog, you need to specify which data source will be the default one for the catalog (by default, the data source that is created along with the catalog is the default data source of the catalog). To do this, right-click the data source which you want to use as the default data source, then click Set as Default on the shortcut menu. A catalog must have one and only one default data source.
In addition, you can rename and delete the data sources in a catalog if required.