Adam Bien's Weblog

Monday Jul 01, 2013

NetBeans 7 + JBoss 7 = Productive Combo

NetBeans 7.3.1+ comes with JBoss 7 integration similar to GlassFish v3/v4.

To integrate JBoss with NetBeans:
  1. Download and install JBoss 7 and NetBeans 7.3.1+
  2. Go to "Services" tab (Keybinding: Cmd+5)
  3. Right click on "Servers"
  4. 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.

See you at Java EE Workshops at MUC Airport, with or without JBoss 7:-)!


NEW workshop: Microservices with Java EE 7 and Java 8, January 26th, 2015, Airport Munich

A book about rethinking Java EE Patterns

Comments:

Hi,

There is nice feature: deploy on save which working well with Glassfish but not with Jboss. Is there any possibility to redeploy app on save using Jboss ? For example Intellij Idea has "deploy exploded" feature with "update resource" and "redeploy" options.

Posted by Marek on July 27, 2013 at 04:25 PM CEST #

Ok, I found this:
https://netbeans.org/bugzilla/show_bug.cgi?id=199073

and with that issuse (not resolved for 2 years) I would say: "NETBEANS 7 + JBOSS 7 != PRODUCTIVE COMBO", too bad.

Posted by Marek on July 30, 2013 at 04:36 PM CEST #

Hi Marek,

I used JBoss 7 with NB 7 Dev builds for a while, and the mvn clean install approach was fast enough.

I even used NB + JBoss 7 before the availability of the plugin and it worked well.

Yes--incremental deployment would be great, but I assume it is an resource issue.

However: NetBeans is open source, so the JBoss plugins should be available for the community :-)

thanks for your comment!,

adam

Posted by Adam Bien on July 30, 2013 at 11:25 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
License