Spring mvc with faces

Can facelets be used as viewing technology with Spring MVC? This is not mentioned in the official documentation, but I heard that Facelets are very convenient and easy to use, and I would like to try, I just do not know how ...

+6
java spring-mvc facelets
source share
3 answers

Maybe you should try Spring Web Flow, which comes with support for JSF2 (facelets):

http://static.springsource.org/spring-webflow/docs/2.3.x/reference/htmlsingle/spring-webflow-reference.html#whatsnew-swf-220

This official documentation link has an example application that integrates Spring WebFlow with individuals.

+3
source share

You can customize Spring MVC using Facelets. Check out the solution here: https://github.com/acichon89/springmvcfacelets

+3
source share

Yes, you can. Most likely you can have a JSF interface, Spring in the middle and probably Hibernate / webservice / JDBC in the backend.

For actions starting from the JSF page that you expect to call Spring in the backend, the controller in JSF must call Spring POJO, and then all of this Spring, to take care, you may need to pass your bean from JSF to the Spring bean.

Once I found this document , I hope this helps you.

+1
source share

All Articles