Disclaimer: WildFly plugin provides very basic functionality as of now and is evolving rapidly to support broader feature set. It is purely for testing purpose at this time.
How to get started ?
- Download NetBeans 8 nightly. Worked on existing NetBeans 7.4 as well, see instructions below.
- Go to “Tools”, “Plugins”, “Available Plugins”, search on “wildfly” to see the updated screen:click on “Install”. Follow the prompts to complete the installation.
- In NetBeans, go to “Services”, right click on “Servers”, select “Add Server…” to see:Click on “Next>”.
- Install or build WildFly following Tech Tip #1. Click on “Browse…” next to “Server Location…” and select the location of WildFly. For example, I used “/Users/arungupta/workspaces/wildfly/build/target/wildfly-8.0.0.Beta2-SNAPSHOT” on my machine.
Click on “Next>”.
- Take the defaults as shown:and click on “Finish”. Now you can see WildFly configured in NetBeans:
- Right-click on the newly added server and select “Start”:to see an output something like:
“09:51:29,191 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Beta2-SNAPSHOT “WildFly” started in 2039ms – Started 184 of 232 services (78 services are lazy, passive or on-demand)”
in the output console.
That’s all it takes to configure WildFly 8 in NetBeans 8!
Trying to run a simple sample showed the following window:
I particularly like this feature as it does not “corrupt” my Maven files or generate any IDE-specific files.
Note, although this plugin can be installed in NetBeans 8 out-of-the-box, but you can configure an additional Update Center in earlier versions of NetBeans and use “http://deadlock.netbeans.org/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz” URL. This is how I hacked my NetBeans 7.4 installation and added support for WildFly there.
Get your wheels churning and try your WildFly applications running from NetBeans 8.