Closed mtbadi39 closed 8 years ago
I'm afraid we don't currently support JSF officially with Spring Boot.
I know thats JSF and Spring MVC are are fully competitors. we cannot mix them and we should choose the one or the other. But may be its time for Spring Boot to support some components based frameworks out of the box (ex : PrimeFaces, ICEFaces, ...etc)
@mtbadi39 Given that it works when packaged as a war, why not do that? You can build an executable war and then run it in the same way as you'd run an executable jar (java -jar
).
Hi @mtbadi39 ,
There is no built in Spring Boot Starter to integrate JSF, but Spring Boot references one Community Contribution called JoinFaces.
You could try JoinFaces Example also.
thanks @persapiens , i will try it
Hi; There are many examples for Spring Boot + JSF packaged as WAR provided Here and here and here. but when trying to package them as JAR, things doesnt works ! The main problem was described here. Our main goal to do this was Wrapping our application as a Windows Service. Thanks !