- 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.
推薦閱讀
- 新編Visual Basic程序設計上機實驗教程
- ASP.NET Core 5.0開發入門與實戰
- ASP.NET動態網頁設計教程(第三版)
- Java程序員面試算法寶典
- PHP 編程從入門到實踐
- 網店設計看這本就夠了
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- Instant Nancy Web Development
- ServiceNow:Building Powerful Workflows
- 網絡數據采集技術:Java網絡爬蟲實戰
- Practical GIS
- 從零開始學UI:概念解析、實戰提高、突破規則
- Java高并發編程詳解:深入理解并發核心庫
- IBM RUP參考與認證指南
- Roslyn Cookbook