You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2013/04/30 00:37:55 UTC

svn commit: r1477394 - /tomee/tomee/trunk/examples/myfaces-codi-demo/README.md

Author: dblevins
Date: Mon Apr 29 22:37:55 2013
New Revision: 1477394

URL: http://svn.apache.org/r1477394
Log:
TOMEE-901
Patch from Gerhard Petracek
Thanks, Gerhard!

Modified:
    tomee/tomee/trunk/examples/myfaces-codi-demo/README.md

Modified: tomee/tomee/trunk/examples/myfaces-codi-demo/README.md
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/examples/myfaces-codi-demo/README.md?rev=1477394&r1=1477393&r2=1477394&view=diff
==============================================================================
--- tomee/tomee/trunk/examples/myfaces-codi-demo/README.md (original)
+++ tomee/tomee/trunk/examples/myfaces-codi-demo/README.md Mon Apr 29 22:37:55 2013
@@ -16,6 +16,7 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
+## Steps to run the example
 
 Build and start the demo:
 
@@ -25,3 +26,36 @@ Open:
 
     http://localhost:8080/myfaces-codi-1.0-SNAPSHOT/
 
+This example shows how to improve JSF2/CDI applications with features provided by Apache MyFaces CODI and ExtVal.
+
+## Intro of MyFaces CODI and ExtVal
+
+The Apache MyFaces Extensions CDI project (aka CODI) hosts portable extensions for Contexts and Dependency Injection (CDI - JSR 299). CODI is a toolbox for your CDI application. Like CDI itself CODI 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 MyFaces CODI**
+
+- Type-safe view-config
+- Type-safe (custom) view-meta-data
+- Type-safe navigation
+- Type-safe (specialized) config
+- Type-safe custom project-stage
+- @WindowScoped
+- Controlling CODI scopes with WindowContext
+- @ViewAccessScoped
+- Manual conversation handling
+- Secured pages (AccessDecisionVoter)
+- @Transactional
+- I18n (fluent API)
+- Dependency-Injection for JSR303 (BV) constraint-validators
+- Dependency-Injection for JSF phase-listeners
+
+**Apache MyFaces ExtVal**
+
+- Cross-Field validation (@Equals)
+- Type-safe group-validation (@BeanValidation) for JSF action-methods