You can leave the web server running while you develop your application. When you make a change, use the mvn clean package command to build and update your app.
Try it now: Leave the web server running, then edit
HelloServlet.java to change Hello, world to something else.
Run mvn clean package,...