- Vaadin 7 UI Design By Example:Beginner’s Guide
- Alejandro Duarte
- 136字
- 2021-08-13 16:17:37
Time for action – deploying and running
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 thewelcome
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.
Tip
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.
What just happened?
We have successfully created, compiled, packaged, deployed, and run a Vaadin application using Maven.
推薦閱讀
- JavaScript百煉成仙
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- 高效微控制器C語言編程
- Python語言程序設計
- 算法基礎:打開程序設計之門
- Learning SQLite for iOS
- RTC程序設計:實時音視頻權威指南
- TypeScript項目開發實戰
- HDInsight Essentials(Second Edition)
- Android底層接口與驅動開發技術詳解
- 深入分布式緩存:從原理到實踐
- Julia 1.0 Programming Complete Reference Guide
- Fastdata Processing with Spark
- ASP.NET求職寶典