Configuing JSF
[Previous] [Main] [Next]

Configuring JSF Applications.


We have just started to look at how this duck paddles across the pond. There is lots more frantic action happening in the background.

1. Servlet containers (like Tomcat) require a application deployment file - web.xml.
·Start the JavaServer Faces servlet  
·Instantiate application level beans  
·Configure where "state" is maintained (on the server or on the client). (Default is server)  

2. Faces likes to have one or more of its own configuration files - faces-config.xml
The faces-config.xml file contains a number of sections.  
·Managed Beans  
·Navigation