Prerequisites
- Debian
- Java
Install WildFly
Download WildFly Java EE Full & Web Distribution from http://wildfly.org/downloads/
Install MySQL JDBC Connector
Create if not exist and then go to the directory WILDFLY_HOME/modules/system/layers/base/com/mysql/driver/main
.
Download MySQL JDBC Connector, for example mysql-connector-java-8.0.21.jar
, and then copy it to the directory.
Create module.xml
file
|
|
Adding DataSource
There are three methods to add datasource to WildFly.
Admin Console
TODO:
standalone.xml
TODO:
CLI
TODO:
WildFly Micro Maven Plugin
TODO: