Awesome
Vaadin Java EE app example
This is a work in progress Vaadin CDI example project that could be a starting point for a larger Java EE app.
Stuff that this app is built on:
- Vaadin
- Java EE
- JPA
- Apache Shiro
- Vaadin CDI
- CDI events
- MVP
- The new Valo theme for Vaadin to make it look modern
TODO:
- Limited UI for customers to edit their own details
- Localization
- Clean up, blog posts etc.
To get started (plaining with this app in your dev environment):
Build should be IDE/platform indendent. So just
- Checkout the the project with
git clone https://github.com/peterl1084/cdiexample.git
. - (OPTIONAL) define a datasource and configure it in
backend/src/main/resources/META-INF/persistence.xml
. Development friendly Java EE servers like TomEE, WildFly and GlassFish will do this automatically for you, as we haven't defined<jta-data-source>
inpersistence.xml
- Build + Run/Debug in your favorite IDE
- ... or use
mvn install; cd ui; mvn tomee:run
to launch it in TomEE without any configuration