[jboss-jira] [JBoss JIRA] (AS7-5649) Add dormant MyFaces annotation/lifecycle handlers

Stan Silvert (JIRA) jira-events at lists.jboss.org
Thu Sep 27 13:40:02 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stan Silvert updated AS7-5649:
------------------------------

    Attachment: api.zip
                digester.zip
                jsf-impl.zip


To make MyFaces the default JSF implementation, follow these three steps on your AS7.2 installation:

1) Unzip digester.zip into modules/org/apache/commons.

2) Unzip api.zip into modules/javax/faces.  Allow modules.xml to be overwritten. You will be able to switch back to Mojarra by editing this file.

3) Unzip jsf-impl.zip into modules/com/sun.  Allow modules.xml to be overwritten. You will be able to switch back to Mojarra by editing this file.
                
> Add dormant MyFaces annotation/lifecycle handlers
> -------------------------------------------------
>
>                 Key: AS7-5649
>                 URL: https://issues.jboss.org/browse/AS7-5649
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: JSF
>    Affects Versions: 7.1.1.Final
>            Reporter: Stan Silvert
>            Assignee: Stan Silvert
>             Fix For: 7.2.0.Alpha1
>
>         Attachments: api.zip, digester.zip, jsf-impl.zip
>
>
> Currently, the only way to use MyFaces with AS7 is to bundle it with the WAR and set WAR_BUNDLES_JSF_IMPL.  This has disadvantages.  One is that you must bundle MyFaces and its dependencies with each WAR.
> The second disadvantage is that it will use the default MyFaces annotation and lifecycle handling.  This is less efficient than using native AS7 processing via the SPI.
> This feature creates a MyFacesAnnotationProvider and MyFacesLifecycleProvider that are only activated if Mojarra is replaced by MyFaces in the modules directory.  
> While use of MyFaces will require a bit of "hacking" in the modules directory, it gets us a step closer to fully pluggable JSF.  And in the mean time, those who want to do an apples to apples comparison of MyFaces and Mojarra can test their application unchanged against each implementation.  Thus, the community can start to gather legitimate data about which implementation runs better under certain conditions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list