A project example for a Vaadin application that only requires a Servlet 3.1 container to run (no other JEE dependencies). The UI is built with Java only.
The easiest way of using it is via https://vaadin.com/start - you can choose the package naming you want.
The project can be imported into the IDE of your choice, with Java 8 installed, as a Maven project.
The project consists of the following three modules:
- parent project: common metadata and configuration
- bookstore-starter-flow-ui: main application module, development time
- bookstore-starter-flow-backend: POJO classes and mock services being used in ui
To compile the entire project, run "mvn install" in the parent project.
Other basic workflow steps:
- getting started
- compiling the whole project
- run
mvn install
in parent project
- run
- developing the application
- edit code in the ui module
- run
mvn jetty:run
in ui module - open http://localhost:8080/
- creating a production mode war
- run
mvn package -Dvaadin.productionMode
in the ui module or in the parent module
- run
- running in production mode
- run
mvn jetty:run -Dvaadin.productionMode
in ui module - open http://localhost:8080/
- run
master
the latest version of the starter, using latest platform snapshotV10
the version for Vaadin 10V11
the version for Vaadin 11