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 or 11 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 that includes views (war)
- bookstore-starter-flow-my-component: sub module for custom components (jar)
- bookstore-starter-flow-backend: POJO classes and mock services being used in the ui (jar)
- bookstore-starter-flow-it: TestBench test examples (ToDo: update to work)
- bookstore-starter-flow-ear: EAR packaging
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 wildfly:run
in ear module - open http://localhost:8080/bookstore-starter-flow-ui/
- creating a production mode war
- run
mvn package
ear module
- run
- running in production mode
- production mode is used by default
master
the latest version of the starter, using the latest platform version