- Vaadin 7 UI Design By Example:Beginner’s Guide
- Alejandro Duarte
- 159字
- 2021-08-13 16:17:37
Time for action – creating a new Vaadin project
Steps for creating a new Vaadin project are as follows:
- Open a new terminal in your operating system and move to the directory you want your project to be created in.
- Run the command line shown as follows:
mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=7.0.0 -Dpackaging=war
- Enter your preferred groupId and press Enter. For example,
com.example.welcome
. - Enter
welcome
as artifactId and press Enter. - Press Enter to accept the default version.
- Press Enter to accept the default package.
- Confirm that everything is OK by typing
Y
and press Enter.
What just happened?
If you can see the rewarding BUILD SUCCESS message, you have successfully created your first Vaadin project using Maven. You must have a new directory with all the generated files for your project.
Deploying and running Vaadin applications with Maven
Deploying to Jetty is so common that we just can't break the old tradition of using it to test our application.
推薦閱讀
- 一步一步學Spring Boot 2:微服務項目實戰
- WSO2 Developer’s Guide
- Web Application Development with R Using Shiny(Second Edition)
- 精通API架構:設計、運維與演進
- Java面向對象程序開發及實戰
- Unity 5.x By Example
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Android Native Development Kit Cookbook
- 精通Linux(第2版)
- Python Data Analysis Cookbook
- 精通Python自動化編程
- R語言與網絡輿情處理
- Statistical Application Development with R and Python(Second Edition)
- Citrix XenServer企業運維實戰
- CRYENGINE Game Development Blueprints