Book Image

WildFly: New Features

By : Filippe C Spolti
Book Image

WildFly: New Features

By: Filippe C Spolti

Overview of this book

Table of Contents (13 chapters)
WildFly: New Features
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Datasources


As with all application servers, you must have a data source to manage JDBC connections to a database. The JDBC API is a standard that defines how the databases are accessed by Java applications. An application references a previously configured datasource in the application server, which in turn is associated with a JDBC driver so that the application can perform transactions in the database. The correct version of the JDBC connector directly gives the correct functioning of the datasource. As with previous versions such as JBoss, Wildfly includes a small database, the H2. It is a lightweight relational database and is also an example of a datasource for the platform. As in JBoss AS 7, the datasources are all defined within the subsystem datasources. This subsystem is subdivided into two parts, listed as follows:

  • Datasources: This is where the datasources are configured

  • Drivers: This is the session where the list of drivers used by the datasources is configured

For the installation...