Datasource overview

A datasource is a component used to connect to a database. Through the datasource, an application can persist its state (generally speaking) to reuse it later on.

A datasource can connect to any database, as long as the application server provides a connector for it, which is the driver.

JBoss EAP 7 requires that all drivers must be compliant with the JDBC 4 specification. We will see this in detail in the following sections.

Prerequisites

Before we begin, we should have MySQL 5 installed on the system. In case you don't have it set up, it's time to take a dive into the operational world and install what is needed, and it's not just MySQL.

Let's now give a warm welcome to Docker, as our enabling technology to better understand the ...

Get Mastering JBoss Enterprise Application Platform 7 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.