You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2012/05/23 17:26:41 UTC

[jira] [Updated] (MYFACES-3553) [GAE] Add param to select jar files to be scanned for .faces-config.xml or .taglib.xml or annotations

     [ https://issues.apache.org/jira/browse/MYFACES-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe updated MYFACES-3553:
------------------------------------

    Status: Patch Available  (was: Open)
    
> [GAE] Add param to select jar files to be scanned for .faces-config.xml or .taglib.xml or annotations
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3553
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3553
>             Project: MyFaces Core
>          Issue Type: New Feature
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>         Attachments: MYFACES-3553-1.patch
>
>
> In MyFaces users list, it has been reported that Spring and JSF are slow in GAE when they start, because it is necessary to scan the classpath for .faces-config.xml or .taglib.xml or annotations.
> It is possible to put myfaces jars and other jsf related jars outside /WEB-INF/lib folder, but in GAE we can skip this limitation, so it becomes more effective to indicate the jar files to scan in a web config param:
> org.apache.myfaces.GAE_JSF_JAR_FILES
> MyFaces jars does not need to be scanned so with this param it is possible to set:
>     <context-param>
>         <param-name>org.apache.myfaces.GAE_JSF_JAR_FILES</param-name>
>         <param-value>none</param-value>
>     </context-param>
> And skip scanning at all (/WEB-INF/classes will still be scanned).
> With this changes, startup in GAE will be quick. Note this is not necessary in other application containers, because initialization occur when the application is deployed, and just take some seconds.
> Anyway, I consider it is worth to do it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira