Running an Application
- Overview
- NetBeans IDE
Select the project in the Projects view.
NetBeans will show common Maven goals inside the Navigator view:
Navigator view
Double-click a goal to execute it.
You can run the web application in an embedded web server by running the appropriate goal for your technology stack.
While the server is running, you can edit and save any source files, and the server notices the change and redeploys web application. You can also enable .
To stop the server, click the stop button in the Output view:
Binding Maven Goals to IDE Actions
As running the web application is a frequent task during development, you may want to bind such Maven goal to an IDE action.
To associate the Run project action to a Maven goal to start the server, do as follows:
In the Project Properties window, select **Categories › Actions**.
Select the **Actions › Run project** option.
Click OK:
Now you can deploy and run the web application by clicking the run icon in the toolbar:
You can repeat the process to bind the same Maven goal to the Debug project IDE action as well.
If the Vaadin application was created with the project wizard or a Maven archetype, you should be able to access it at .
With the above configuration, you can now use NetBeans to develop your Vaadin application with Maven.
To learn more about:
How to develop a Java web application without coding JavaScript or HTML, see Vaadin quick start tutorial.