Developing applications on WildFly using Eclipse

This is an updated tutorial about configuring Eclipse to run with WildFly application server.
First of all, let's get to the Eclipse main download page which is at:
As you can see, there are multiple solutions for developing applications. The latest version of Eclipse, called Photon, requires a simple installation (unzipping) on your machine.

If you are interested in developing Enterprise application using an Eclipse Cloud Solution, then take a look at Eclipse Che: Develop your Enterprise applications on the Cloud with Eclipse Che

In this tutorial we will show how to use the latest version of Eclipse to get started with developing applications on JBoss EAP / WildFly and Eclipse.

Step 1: Install Eclipse

The first step is obviously to install Eclipse:

Be sure to select the Download Packages option as the default download will install a minimal J2SE installation.

Download the Eclipse IDE for Java EE Developers as seen in this picture:

jboss eclipse wildfly tutorial

Once down with the download, simply unzip the file in a folder of your likes and launch eclipse.

Step 2: Install JBoss Tools

JBoss tools is a set of subprojects which are related to JBoss products: for example you can use JBoss AS Tools to create, deploy and debug applications on JBoss AS. The Hibernate tools can be used to simplify mapping and querying your data with Hibernate. The Seam tools can be an handy guide to develop applications with JBoss AS Seam project, and so on.

We will now show how to install the JBoss AS Tools. There are several ways to install Eclipse plugins: basically this boils down to intalling the plugin from within Eclipse environment and downloading and manually installing the tools. The simplest way to do it is through 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:

wildfly eclipse jboss tools

If you are working with the supported version of JBoss products, then it's recommended to install JBoss Developer Studio tools which will bring in your IDE all the required tools to develop applications with Red Hat middleware.

In the next 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 set of "WildFly" Servers are included:

jboss wildfly eclipse tutorial

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:

wildfly10 eclipse configure

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) :

wildfly eclipse jboss tutorial

Click Finish. WildFly is now configured on your Eclipse environment!

Ok, at this point you should find out in the Eclipse tool bar the following three icons:

jboss with eclipse jboss and eclipse tutorial

This icon (1) can be used to select the server version in case you have installed multiple AS version
This icon (2) can be used to boot the application server
This icon (3) can be used to debug the application server

Additionally, you can choose from the Menu: Window | Show View | Server
The following tab GUI will be accessible to start/stop/debug and deploy applications on JBoss AS.
jboss eclipse tutorial wildfly

Let's try to start the server. Right click on the Server icon and choose "Start" from the Menu.
The Console Tab GUI will activate, showing the server boot logs. At the end of the process, the Console will display f the server started correctly.
jboss eclipse tutorial wildfly