[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-67) Provide a ServletContainerInitializer that automatically registers the FacesServlet

Dan Allen (JIRA) jira-events at lists.jboss.org
Sun Dec 12 02:55:52 EST 2010


    [ https://issues.jboss.org/browse/SEAMFACES-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569465#comment-12569465 ] 

Dan Allen commented on SEAMFACES-67:
------------------------------------

References:

Mojarra: http://java.net/projects/mojarra/sources/svn/content/trunk/jsf-ri/src/main/java/com/sun/faces/config/FacesInitializer.java
JBoss AS: http://anonsvn.jboss.org/repos/jbossas/projects/jboss-jsf-int/trunk/jboss-faces/src/main/java/org/jboss/web/jsf/integration/config/JBossMojarraConfigureListener.java

> Provide a ServletContainerInitializer that automatically registers the FacesServlet
> -----------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-67
>                 URL: https://issues.jboss.org/browse/SEAMFACES-67
>             Project: Seam Faces
>          Issue Type: Feature Request
>          Components: Configuration API
>    Affects Versions: 3.0.0.Beta1
>            Reporter: Dan Allen
>            Assignee: Dan Allen
>            Priority: Minor
>             Fix For: 3.0.0.Beta2
>
>
> Since this module is strictly focused on JSF enhancements, we can be (almost) certain that JSF is being used. In an effort to minimize configuration, Seam Faces should automatically register the FacesServlet if it's not already configured by the application. Automatic registration is possible using a ServletContainerInitializer extension.
> Granted, most Java EE 6 application servers are now automatically configuring the FacesServlet under certain conditions. JBoss AS registers it for all applications by default. GlassFish registers it if the application has a WEB-INF/faces-config.xml. We can normalize this behavior by registering it if Seam Faces is present (so WEB-INF/faces-config.xml isn't even required).
> This feature will only activate in Servlet 3.0 environments.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list