Database Connections For Jsp Developers - Adobe 38040334 - Dreamweaver CS3 User Manual

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Right-click (Windows) or Control-click (Macintosh) the connection, and select Delete Connection from the
2
menu.
In the dialog box that appears, confirm that you want to delete the connection.
3

Database connections for JSP developers

About JSP database connections
A JSP application must connect to a database through a JDBC driver. After you install the database driver, you can
connect to the database through it.You must specify certain parameter values to connect through your JDBC driver.
For the parameter values specific to your driver, see the driver vendor's documentation or consult your system
administrator.
You can also use an ODBC driver (and a Windows DSN) if you have a JDBC-ODBC Bridge driver.
Note: The JSP application server must be running on a local or remote computer. You must also have a database set up
on your local computer or on a system to which you have network or FTP access.
See also
"Setting up a web application" on page 501
"Accessing a database" on page 494
JDBC connection parameters
When you create a JSP database connection in Dreamweaver, you usually need to enter JDBC connection param-
eters. JDBC connections usually consist of four parameters: the driver, user name, password, and URL (which
specifies the location of the database). Generally, the values of the driver parameter and the URL parameter depend
on the driver type.
This example shows how to define connection parameters in Dreamweaver using the Oracle Thin JDBC driver as an
example. For the connection parameters of other drivers, consult the driver vendor's documentation.
The Oracle Thin JDBC driver supports Oracle databases. If you want to use this driver to connect to your Oracle
database, click the Plus (+) button on the Databases panel and select the Oracle Thin Driver (Oracle) driver from the
pop-up menu. The Oracle Thin Driver dialog box appears.
Enter a connection name and replace the placeholders (in square brackets) with valid connection parameters. For
the
placeholder, enter the IP address or the name assigned to the database server by the system admin-
[hostname]
istrator. For the
placeholder, enter the database system identifier. If you have more than one Oracle database
[sid]
running on the same system, you use the SID to tell them apart.
September 4, 2007
DREAMWEAVER CS3
521
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents