Configuring FireStorm/DAO™

It is recommended that you configure FireStorm/DAO™ before attempting to import schemas or generate code. This only take few simple steps using the three configuration dialogs under the Options menu.

Configuration Dialog: Configure FireStorm/DAO™

Choose the menu option "Configure FireStorm/DAO" under the "Options" menu. You are presented with the following dialog:

Use this dialog to configure FireStorm/DAO™ with the locations of your log4j, J2EE, and JDO jar files. All of these are optional and are only required if you wish to be able to use the Ant project files generated by FireStorm/DAO™ without the need to manually modify them to contain the correct paths.

By default, FireStorm/DAO™ checks to see if new versions of the product are available to download. You can turn this feature off by de-selecting the checkbox.

Configuration Dialog: Configure JDBC Drivers

If you wish to import schemas directly from a live database through JDBC, you must configure FireStorm/DAO™ with details of your JDBC drivers and data sources.

If you are only importing from SQL scripts, you can continue onto the next section of the tutorial: Importing a database schema

To configure your JDBC drivers, choose the "Configure JDBC Drivers" menu option under the "Options" menu. You are presented with the following dialog:

FireStorm/DAO™ contains pre-configured example settings for some popular JDBC drivers. However, because of the wide choice of drivers available, CodeFutures does not ship JDBC drivers with FireStorm/DAO™. JDBC drivers are freely available for almost all relational databases and you need to download the appropriate JDBC drivers for your databases and add them to the classpath in FireStorm/DAO™ using this dialog. After you have added the JDBC driver JAR files to the classpath, you can use the Validate button to confirm that the driver can be loaded.

Configuration Dialog: Configure JDBC Data Sources

To configure your JDBC data sources, choose the "Configure JDBC Data Sources" menu option under the "Options" menu. You are presented with the following dialog:

FireStorm/DAO™ is pre-configured with sample settings for common databases such as MySQL. You must edit these settings to match your database connection configuration. After you have entered the correct settings, you can use the Validate button to test connectivity to the database.

You may now proceed to the next section in the tutorial: Importing a Database Schema

Return to Tutorial Index