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"
Online workshop: Java EE 7 Bootstrap