Status of: Spring-JSF Integration

  • JC

    JC - 2004-08-10

    Any info on how this project is going?


    • Juergen Hoeller

      Juergen Hoeller - 2004-08-10

      Spring 1.1 final will include a JSF VariableResolver implementation that delegates to Spring's root web application context, being able to resolve beans in the Spring application context. So you can simply refer to the bean name of your Spring-managed middle tier beans in JSF expressions, for example in property values of JSF-managed beans.

      As alternative, there's also the jsf-spring SourceForge project which provides more extensive JSF integration. It essentially reimplements the JSF's entire managed-bean facility on top of a Spring application context. This gives a couple of additional features, like JSF-managed beans that implement Spring's lifecycle interfaces.

      For typical use cases, the VariableResolver shipped in Spring 1.1 final should be good enough (it's already in CVS, BTW). So for a start, I recommend to give that one a try, and just switch to the jsf-spring library if you actually need some of the additional features there.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks