user manual
228 BES Developer’s Guide
Configuring JDBC Datasources
Configuring JDBC Datasources
Using the Console, navigate to the "Deployed Modules" list in the Partition
whose datasources you need to configure. By default, every Partition has a
predeployed JNDI Definitions Module (DAR) called default-resources.dar.
Right-click on the module and choose "Deployment Descriptor Editor" from the
context menu. The Deployment Descriptor Editor (DDEditor) appears.
In the Navigation Pane of the DDEditor is a list of datasources preconfigured
in the product. If needed they can be individually edited to suit the user's
requirements.
To create a new JDBC datasource, Right-click the jndi-definitions.xml node
at the top of the tree and select "New JDBC Datasource..." from the Context
Menu.
A dialog box prompts for a JNDI name for the newly-created datasource. Once
given, a representation of this datasource appears in the tree in the Navigation
Pane. Click its representation to open its configuration panel.
The DDEditor has knowledge of some common JDBC drivers and can autofill
the class names and essential properties for the appropriate JDBC
datasource. If the JDBC datasource type you want appears in the Datasource
Type list then choose it, otherwise select "Other(JDBC2)".










