If you are deploying an application to a clustered Wildfly, it could be better to deploy the JDBC driver along with your application.
Out of the box, Wildfly only comes with an H2 JDBC driver.
Most likely, you have a different database such as Oracle, MS SQL, or MySQL. As long as you have access to Wildfly, installing the appropriate JDBC driver is fairly straightforward.
The advantage of installing it into Wildfly itself is that you can enforce a specific JDBC driver version for all of your deployed applications. However,