Home

Awesome

"Vaadinized" Java EE 6 app stub for TomEE

Apache TomEE is an increasingly popular certified Java EE server that is based on Tomcat and other Apache libraries like OpenJPA and OpenEJB.

TomEE has a small and clean archetype (tomee-webapp-archetype) for JPA backed web apps. It implements a simple book inventory app, but the default UI is built with faces and is rather harsh. To help you to get started quicker with my favourite UI technology, I modified the generated app stub to replicate the same UI with Vaadin.

In addition to just reading and adding book entities, I also completed the exercise to be a full CRUD example with a floating editor window for book entities. The editor also contains an example how one can de-couple stuff in UI code using CDI events.

Steps to convert your faces UI into a modern RIA app: