Recently the company has been promoting the use of JBoss, previously used either Tomcat, or IBM was, here to record their transformation process, the first is to install the Eclipse plug-in, the following steps, if the agent is online, to set up the agent in Eclipse.
After setting up, configure the data source next:
There are two configuration methods, one in the JBoss XML configuration file, the other is in the management background of JBoss GUI-GUI settings, and the graphical interface setting is the nature of the XML configuration file settings, the interface is set as follows:
Then set the Jndi name:
Select the database driver, this is related to the specific database, in short, to let JBoss load the driver, you can take advantage of the JBoss module expansion of the way.
The following interface is set up:
Enable to activate the drive, the final effect
can also be modified through the interface:
The resulting XML configuration file is as follows:
Schematic wildfly8.x configuring JNDI data sources