I’m starting a new JSF (2) project. I realize that pure JSF has some limitation and I’m planning to drop in spring. JSF is a relatively new approach in spring (there is not even a tag spring-faces in stackoverflow 🙂 ), jsp being the classic way.
I need the best available adjustment of the technology stack.
1) do i need to use spring web flow too?
2) is it viable to use just spring faces (that seems to come as a part of web flow) + spring mvc+ JPA?
3) is there any good example of such a configuration?
I’m starting a new JSF (2) project. I realize that pure JSF has some
Share
I’m using JSF 2 together with Spring 3 for Dependency Injection etc.
I’m not familiar with Web Flow and I don’t use it.
In your
faces-config.xmlyou can register the SpringSpringBeanFacesELResolver.Then you can access Spring managed beans in your JSF code!
Have a look at the Spring documentation and the API docs.