I have created a Spring MVC project with JSP and Hibernate and it works great. Now I would like to use Facelets instead of JSP.
My thought is to use Facelets like PrimeFaces as view instead of JSP, Spring MVC framework in the middle and probably Hibernate in the backend.
Is it possible? If yes, how can I achieve this ? If not, why not?
Yes, if you are talking about Spring, of course that is possible. The Spring documentation mentions it. If you want integration of JSF and Spring MVC, then it is probably useless, since you don't need any Spring MVC controller to build your JSF pages.
You also don't need JSP. Your pages will be coded using Facelets tags.
There are many tutorials and examples available on the web. For instance:
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