(original version in the Struts Wiki from 2005-04-05 by CraigMcClanahan)

Since version 1.1.5 of Spring, that framework has included a convenient integration with JSF that may be leveraged in a Shale based application. The integration includes a custom JSF VariableResolver implementation that is invoked first whenever a value binding or method binding expression is evaluated. In other words, the JSF managed beans facility behaves like this:

This technique allows you to transparently use JSF value binding expressions (either in components, or through programmatic manipulation) that access beans managed by Spring instead of by the JSF managed beans facility.

In order to use this facility, simply include the following JAR files in your /WEB-INF/lib directory:

Additional information may be found on the Shale homepage.