How do I integrate WildFly with Eclipse? This tutorial shows how to do it, by installing the JBoss Tools plugin on Eclipse so that you can manage e local or remote WildFly application server without leaving your favourite IDE.
In order to install JBoss Tools make sure you have installed the lastest Eclipse release. Next, move to the Help | Eclipse Market Place and enter in the search box “JBoss Tools”. You will see several JBoss Tools releases available. Choose to install or update the latest stable JBoss Tools plugin:
In the following screen select the “JBoss AS tools” plugin and restart Eclipse once completed. Now choose from the upper Menu: File | New | Server and expand the JBoss Community option. A “WildFly” Server is included:
In the next screen you have to choose if the Server is locally installed (Local) or it’s a remote server (Remote) and how the Server Lifecycle is managed:
Finally, point to the location where the application server is installed, the JRE execution environment and the configuration file to be used (default is standalone.xml) :
Remember that WildFly 10 application server requires a JDK 1.8, therefore you will not be able to start it with an older JDK version. Click Finish. WildFly is now configured on your Eclipse environment!
Click on the Icons in the toolbar to Debug / Start / Profile / Stop your Server. Right click on it and choose “Add or Remove ” to Deploy applications on it.
Congratulations, you have just learned how to integrate WildFly with Eclipse!