Starting from an empty project, we build up the classic client-side To-Do List Web Application using the Errai Framework from JBoss.
Keep in mind that all the Java code and HTML templating in this demo is happening in the browser. That's right, even the CDI events and JPA calls are running inside the browser (the "database" is window.localStorage.)
The source code for this demo is available at github.com/errai/errai/tree/master/errai-jpa/demos/errai-jpa-demo-todo-list
Learn more about Errai at jboss.org/errai