6.2. JDBC Drivers

6.2.1. Install a JDBC Driver with the Management Console

Summary

Before your application can connect to a JDBC datasource, your datasource vendor's JDBC drivers need to be installed in a location where the JBoss Enterprise Application Platform can use them. JBoss Enterprise Application Server allows you to deploy these drivers just like any other deployment. This means that you can deploy them across multiple servers in a server group, if you use a managed domain.

Note

The preferred installation method for JDBC drivers is to install them as a core module. To install the JDBC driver as a core module, refer here: Section 6.2.2, “Install a JDBC Driver as a Core Module”.
Prerequisites

Before performing this task, you need to meet the following prerequisites:

  • Download the JDBC driver from your database vendor.

Procedure 6.1. Task

  1. Access the Management Console.

  2. Deploy the JAR file to your server or server group.

    If you use a managed domain, deploy the JAR file to a server group. Otherwise, deploy it to your server. See Section 8.2.2, “Deploy an Application Using the Management Console”.
Result:

The JDBC driver is deployed, and is available for your applications to use.