Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This section discusses the necessary configurations required for a web application running on Spring Web Flow, JSF 2, and PrimeFaces.
For developing applications using Spring Web Flow and JSF 2 with PrimeFaces, the required corresponding dependencies are shown in Table 18-3. Add them into your project.
For a JSF application, we need to specify a JSF-dedicated configuration file (the faces-config.xml file under the /WEB-INF folder). This file typically stores the general JSF configurations, information on the managed beans (not required if you use the annotation style), and the navigation rules. However, we will use Spring Web Flow, which integrates with Spring Framework's IoC for DI, so the configuration required in this file is minimal. Listing 18-1 shows the content of the file (WEB-INF/faces-config.xml).