I want to know if it is possible and how to use Spring MVC with PrimeFaces.
After 3 days of research I just don't think it's possible out of the box. Spring MVC with JSF exactly - Web Flow is something else. Spring Roo straight up makes you choose whether you're going to have Spring MVC or JSF.
None of the examples supposedly integrating both would work for me on latest library releases using Jetty. At this point I wouldn't be totally surprised that some of them do actually work with other containers as I did get varying results trying out a couple with Tomcat. Most examples do the same thing without explaining much - they do use the Spring MVC dispatcher servlet and declare the faces servlet separately as well and how it's supposed to work is all a mystery especially when it doesn't work.
I'm new to all this, but to me the desired thing would be for the Spring dispatcher just handle JSF2 out of the box, JSF2 has been out for a while yet I can't google up anybody trying to do that or even expressing the same sentiment; is there something inherently wrong with what I'm thinking?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With