All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.hal.resources.previews.configuration.datasources-drivers.html Maven / Gradle / Ivy

The data source subsystem allows you to create and configure data sources and manage JDBC database drivers.

Data sources

The two general types of resources are referred to as data sources and XA data sources.

  • Non-XA data sources are used for applications which do not use transactions, or applications which use transactions with a single database.
  • XA data sources are used by applications whose transactions are distributed across multiple databases. XA data sources introduce additional overhead.

JDBC Drivers

Before your application can connect to a data source, your data source vendor's JDBC drivers need to be installed. You can choose between two different ways to install JDBC drivers:

Modules

To install a JDBC driver as a module you need to create a file path structure under the ${build.installDir}/modules, copy the JDBC driver JAR into the main/ subdirectory and create a module.xml file.

Once the JDBC driver is available as a module you can use this section to add and remove driver configurations.

Deployments

You can deploy JDBC 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. Any JDBC 4-compliant driver will automatically be recognized and installed into the system by name and version.

In domain mode drivers deployed as applications will only show up in this section if there are running servers which match the selected profile.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy