12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Advanced Topics for Defining JDBC Datasources<br />

<br />

...<br />

<br />

...<br />

<br />

...<br />

<br />

We're not done. Now we must perform the other half of the datasource definition by<br />

providing information on the driver. We do this in the element,<br />

which includes the following information:<br />

■<br />

■<br />

■<br />

■<br />

jndi-name: This is the JNDI name of the driver class, and its value must be identical<br />

to the value from the <br />

element.<br />

datasource-class-name: Here is where you provide the name of the connection<br />

factory class supplied from the resource vendor. It must be the same class you<br />

deployed to the Partition as a library.<br />

log-writer: This is a boolean element that activates verbose modes for some<br />

vendor connection factory classes. Consult your resource's documentation for the<br />

use of this property.<br />

properties: These are properties specific to the JDBC resource, such as<br />

usernames, passwords, and so forth. These properties are passed to the driver<br />

class for processing. Consult your JDBC resource documentation for property<br />

information. Specifying the properties in XML is shown below.<br />

206 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!