-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Vaadin 7 UI Design By Example: Beginner's Guide
Steps for deploying and running Vaadin applications with Maven are as follows:
Move to the directory that Maven created for your project. If you have specified welcome as artifactId, then move to the welcome directory.
Before actually deploying the application we must compile it and package it. To do that, run the command:
mvn package
This will take some time, so be patient.
Now we are ready. Run the command:
mvn jetty:run
If you haven't run this before, you will see a very verbose Maven downloading stuff.
Just in case if you want to break the old tradition:
mvn tomcat:run
Go to http://localhost:8080/welcome and play with the just created Vaadin application.
We have successfully created, compiled, packaged, deployed, and run a Vaadin application using Maven.
Change the font size
Change margin width
Change background colour