NetBeans 7.3.1+ comes with JBoss 7 integration similar to GlassFish v3/v4.To integrate JBoss with NetBeans:
- Download and install JBoss 7 and NetBeans 7.3.1+
- Go to "Services" tab (Keybinding: Cmd+5)
- Right click on "Servers"
- Choose "JBoss" and follow the next few clicks
Now you can run any Java EE application directly on JBoss, just by right-clicking on a JavaEE project, choosing the "Run" item and selecting your server. You could even switch the servers between the runs.
To start the server and deploy the application "Run" a project.
NetBeans shows the logs and allows you to delete the applications directly from the Servers tab.
Classic Java EE 7 Workshops: Bootstrap, Effective and Architectures, July, 13th-15th
Online workshop: Java EE 7 Bootstrap