JSF-SPRING INTEGRATION LIBRARY

xiaoxiao2021-03-06  57

JSF-Spring provides a comprehensive integrated JSF (JavaServer Faces) and Spring Framework code. It is implemented in an independent manner, so it can be used for various JSF implementations. characteristic

Starting from version 1.1, Spring also starts to support JSF. Below is a comparison of two methods.

Spring: Links JSF and Spring

Spring contains an implementation of JSF Variableresolver, which recognizes Spring-managed beans, which can access these beans by reference to the name of Bean in the JSF expression. This is the basic functionality to provide a link to the JSF to the Spring Bean. This solution is already enough in most cases.

JSF-Spring: Integration of two frameworks

JSF-Spring is provided to Spring a WebApplicationContext containing JSF's Managed-Beans, and integrates him into the Spring's Context level. This allows Spring Beans to be used by JSF beans and integrate JSF beans into Spring, which provides a more comprehensive (two-way) integration, including features that use Spring in JSF beans. In addition, you can set the range of Spring Beans with the scope of the JSF BEAN, including additional session and Request scopes.

access

JSF-Spring homepage

转载请注明原文地址:https://www.9cbs.com/read-113940.html

New Post(0)