C H A P T E R  5

Customizing Your Installation

This chapter contains information to assist you in customizing your installation of Sun ONE Studio 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 Sun ONE Studio 4 IDE. You can use other databases with the IDE by configuring the JDBC 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 Sun ONE Studio 4 IDE installation. For information on using this database and database tables, see the PointBase documentation at either of these locations:

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 menu of the IDE.

Alternatively, on Microsoft Windows systems, start the PointBase server by choosing
Programsright arrow Sun Microsystemsright arrow Sun ONE Studio 4 CE right arrow PointBase 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 menu 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 bulletOn Microsoft Windows systems, start the PointBase client console by choosing Programsright arrow Sun Microsystems right arrow Sun ONE Studio 4 CE right arrow PointBase right arrow Console from the Start menu.

A Connect to Database dialog box appears. Click OK to continue.

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

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

A Connect to Database dialog box appears. Click OK to continue.

Stopping the PointBase Client Console

To stop the client console, close 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 Sun ONE Studio lib/ext directory before you start the Sun ONE Studio 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.