Steps to run the example

Build and start the demo:

mvn clean package tomee:run

Open:

http://localhost:8080/

This example shows how to improve JSF2/CDI/BV/JPA applications with features provided by Apache DeltaSpike and MyFaces ExtVal.

Intro of Apache DeltaSpike and MyFaces ExtVal

The Apache DeltaSpike project hosts portable extensions for Contexts and Dependency Injection (CDI - JSR 299). DeltaSpike is a toolbox for your CDI application. Like CDI itself DeltaSpike is focused on type-safety. It is a modularized and extensible framework. So it's easy to choose the needed parts to facilitate the daily work in your project.

MyFaces Extensions Validator (aka ExtVal) is a JSF centric validation framework which is compatible with JSF 1.x and JSF 2.x. This example shows how it improves the default integration of Bean-Validation (JSR-303) with JSF2 as well as meta-data based cross-field validation.

Illustrated Features

Apache DeltaSpike

Apache MyFaces ExtVal

APIs Used

Source

svn co http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/deltaspike-fullstack
cd deltaspike-fullstack
mvn clean install