This tutorial shows how you can configure NetBeans IDE with WildFly application server.

NetBeans IDE is an open-source integrated development environment. NetBeans IDE supports development of all Java application types (Java SE (including JavaFX), Java ME, web, EJB and mobile applications) out of the box.
Start by downloading the latest release of NetBeans (11.1 or newer) from https://netbeans.org/downloads/ . Launch the executable binaries which will install Netbeans on a path of your like. Once installed we will try adding a new server by moving into the "Services" tab and right-clicking "Add Server

jboss netbeans tutorial

From there select "WildFly Application Server" and continue the Add Server Instance wizard:

wildfly netbeans tutorial wildfly netbeans tutorial

Next choose the Server Location:

wildfly netbeans tutorial wildfly netbeans tutorial

As final step, select the Server Configuration you are going to use.

wildfly netbeans tutorial wildfly netbeans tutorial

Once the server has been added, you should be able to select it as "Server" when you are defining a new Application, as the following picture displays:

wildfly netbeans tutorial wildfly netbeans tutorial

Right click on it and choose Start:

wildfly netbeans tutorial wildfly netbeans tutorial

You will see that in the Console the WildFly log will be displayed:

wildfly netbeans tutorial wildfly netbeans tutorial

Your WildFly server is up and running! Congratulations! You have just completed the integration between NetBeans and WildFly!

Troubleshooting WildFly plugin installation

If you are not able to see WildFly in the list of plugins, chances are that your NetBeans version is oudated. You can fix it as follows:

First download the pulging from the Netbeans Plugging Website: http://plugins.netbeans.org/plugin/53333/wildfly-application-server

Then goto the Tools->Plugins Window. Select the Downloaded tab. Then select the Add Plugins button.

This will give you a simple screen for navigating to the downloaded plugin and adding it to Netbeans.

0
0
0
s2sdefault