Chapter 5. Managing the Datasource Subsystems with the CLI

In this chapter, you will cover the following topics:

  • Preparing a non JDBC-4 compliant driver
  • Creating and removing a datasource
  • Checking the datasource connection
  • Reading the datasource's statistics
  • Setting a connection pool
  • Creating and removing XA-Datasource

Introduction

In this chapter, you will learn how to manage WildFly datasource subsystems with the CLI. This is independent of the WildFly operation mode. For this reason and to facilitate the configuration, we will be running WildFly in the standalone mode.

A datasource is the component used by applications to connect to the database. The datasource, in turn, uses a driver to communicate with the underlying database properly. Hence, for ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.