C H A P T E R  5

Customizing Your Installation

This chapter contains information to assist you in customizing your installation of the Forte for Java 4, Community Edition. It includes information about the PointBase Server 4.2 Restricted edition.

The PointBase Server 4.2 Restricted Edition is available for installation with the Forte for Java 4 IDE. You can use other databases with the IDE by configuring the JDBCtrademark enabled database drivers for those databases.



Note - The following instructions assume you have already installed the PointBase Server 4.2 Restricted Edition during the IDE installation.




Using a PointBase Database

PointBase Server 4.2 Restricted Edition is the default database that is provided with the Forte for Java 4 IDE installation. For information on using this database and database tables, see the PointBase documentation at either ffj-install-dir/pointbase/server/GettingStarted.html or ffj-install-dir/pointbase/client/GettingStarted.html.

Starting the PointBase Database Server

You have to start the PointBase database server before you can use it, whether you want to access a PointBase database from an application you developed using the IDE or you want to create your own tables or database with PointBase software.

To start the PointBase database server:

single-step bulletChoose Tools right arrow PointBase Network Server right arrow Start Server from the main window of the IDE.

Alternatively, on Microsoft Windows systems, start the PointBase server by choosing
Forte for Java 4.0 CE right arrow PointBase right arrow Network Server right arrow Server from the Start menu.

The PointBase 4.2 window appears.

Stopping the PointBase Database Server



Note - The following action stops only the PointBase database server that was started by choosing Tools right arrow PointBase Network Server right arrow Start Server.



To stop the PointBase database server:

single-step bulletChoose Tools right arrow PointBase Network Server right arrow Stop Server from the main window of the IDE or choose Server right arrow Shutdown! from the PointBase 4.2 window.

Starting the PointBase Client Console

To start a PointBase console, do the following:

single-step bulletIn a supported Solaris or Red Hat Linux environment, type:

$ sh ffj-install-dir/pointbase/client/Console

single-step bulletOn Microsoft Windows systems, start the PointBase client console by choosing Forte for Java 4.0 CE right arrow PointBase right arrow Console from the Start menu.

A dialog named "Connect to Database" appears. Click OK to continue.

Stopping the PointBase Client Console

To stop the client console, terminate the window from which it is running.


Using Other JDBC Enabled Databases

The following information applies to database drivers other than the driver for the PointBase Server 4.2 Restricted Edition database.

You must place database driver files in the Forte for Java lib/ext directory before you start the Forte for Java 4 IDE. If you do not do this, the dbschema wizard does not enable you to select the proper database driver when you create a new schema. You cannot mount the driver file in the IDE's Explorer, nor can you simply place the driver file in the CLASSPATH environment variable. You must copy the driver file into the lib/ext folder.

For more information on database configuration and adding new database drivers, see http://www.sun.com/forte/ffj/resources/articles/
configdb.html
.