The process of setting up ReportWeaver for use with Java to access a (*database*) consists of 2 steps.
Once the connection is set up, you can start designing report templates. In a further step you must decide how to deploy your reports. For this you have three alternatives:
Before you dive into the setup please take a moment to understand the architecture of your ReportWeaver integration:
In the beans mode ReportWeaver does not connect to a database directly. Rather it displays your applications java objects (beans). For this ReportWeaver must access the class files of your beans and loading of the objects must be facilitated by the object environment.
Environments that load objects automatically are either EJB containers, object databases (ODMG or JDO compliant) or object relational tools like hibernate or Top-Link.
Note: The beans api of ReportWeaver always uses the java classes as the basis for its database schema. It doesn't need or use a relational database model.
When you install ReportWeaver with the (*database*) binding you will use the (*database*) connection wizard to connect to a (*database*) database via a schema definition file.
In addition to the class files ReportWeaver needs some additional
information that it reads from the
schema definition file.
This information must be supplied in an xml configuration file. (The schema definition file) The usual extension is ".rsd". Depending on your database and configuration, this file may become quite complex. In these cases it is recommended to generate the file form a model like UML.
To design this file you can use the
schema wizard.
The schema file supports various extension mechanism, to deal with specific tasks and configurations. These are:
The Connection wizard consists of two pages. One for the schema definition file and one to extend the classpath.
Please select a
schema definition file.
Note:Use the initargs tag in schema definition file to specify the database(s) and open modes.

Once the database is open the schema file and class path are stored in the repository. We recommend, that you save your repository after the database is open. You can then use this saved repository as a template for any work with this database.
If you want to change the schema file location or if your classpath must be modified, please use the command Open template set and reconfigure.
Note:Because there can only be one primary database attached during a session, the new/open action is disabled once you have a database open or after you have loaded a saved repository.