Project Stage In JSF 2.0

Project Stages:

JSF 2.0 specified five stages, here we mostly used two stages development and production. if we will go for testing we can use other two stages UnitTest and SystemTest. and another one stage is custom stage is called Extension

List Of Stages:

  • Production 
  • Development
  • UnitTest
  • SystemTest
  • Extension
   @ javax.faces.application.ProjectStage

Declaration Method in web.xml

<context-param>
        <param-name>javax.faces.PROJECT_STAGE</param-name>
        <param-value>Production</param-value>
</context-param>