JSF-Spring provides glue code for comprehensive integration of JSF (JavaServer Faces) and the Spring framework. This is done in a implementation independent way so that it can be used with any JSF implementation.

Compatible Versions


From version 1.1 on, Spring features basic JSF support as well. Here are the differences between both approaches.

Spring: link between JSF and Spring

Spring includes a JSF VariableResolver implementation that is aware of Spring-managed beans and thus gives access to those beans by referring to their bean name in JSF expressions. So what it basically does is providing JSF with a link to Spring beans. This solution will be sufficient in many cases.

JSF-Spring: integration of both frameworks

JSF-Spring provides Spring with a WebApplicationContext containing JSF's managed-beans and integrates it into Spring's context hierarchy. Thus it makes Spring beans available to JSF beans and integrates JSF beans into Spring, providing a more comprehensive (bidirectional) integration, including the ability to use Spring's features within JSF beans. Furthermore, you are able to integrate SpringMVC and thus any other action based Web application framework that is integrated by Spring (e.g. Struts etc.). Using JSF-Spring with jsf-facelets you will be able to submit forms via GET and write RESTful web applications with a common JSF stack.


JSF-Spring is kindly supported by some of the best Java companies. Thank you very much.

YourKit Profiler

YourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler.


IntelliJ IDEA: Best Java IDE with smart Java editor, Java debugger, Java code generator, automatic Java code coverage measurement, Java GUI builder, fully supporting Java EE, for productive Java programming.

mindmatters GmbH & Co. KG java.net member logo SourceForge.net Logo