- 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.
推薦閱讀
- Web應用系統開發實踐(C#)
- FreeSWITCH 1.8
- Linux C/C++服務器開發實踐
- 實戰低代碼
- Hands-On Natural Language Processing with Python
- Mastering ROS for Robotics Programming
- 從Java到Web程序設計教程
- Getting Started with Eclipse Juno
- 智能搜索和推薦系統:原理、算法與應用
- Learning Hadoop 2
- Mastering Concurrency Programming with Java 9(Second Edition)
- ActionScript 3.0從入門到精通(視頻實戰版)
- UI設計基礎培訓教程(全彩版)
- 軟件測試技術
- Android應用開發攻略