- 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.
推薦閱讀
- 少兒人工智能趣味入門:Scratch 3.0動畫與游戲編程
- HTML5+CSS3王者歸來
- Expert C++
- PyTorch Artificial Intelligence Fundamentals
- Java游戲服務器架構實戰
- 游戲程序設計教程
- SQL Server與JSP動態網站開發
- ASP.NET開發與應用教程
- ServiceNow:Building Powerful Workflows
- Odoo 10 Implementation Cookbook
- Python:Deeper Insights into Machine Learning
- 區塊鏈項目開發指南
- 從Power BI到Analysis Services:企業級數據分析實戰
- 現代C:概念剖析和編程實踐
- PHP Microservices