adam bien's blog
Maven 3 Milliseconds Deployment ...with NetBeans 7 and Java EE 6 📎
NetBeans 7 supports hot deployment of Java EE 6 Maven based applications ...out of the box. You only have to activate that:
- Go to Project -> Properties -> Build -> Compile
- Change the Compile On Save setting to "For application and test execution"
Now on every save your application gets deployed in background - as usual in milliseconds.