Originally posted by Luigi Rubino: I'd like to have some insights about Spring-JSF integration... (if they will ever integrate well, etc...)
Yes they did integrate well... There is even one Open Source Tool that integrates JSF 1.1 and Spring 1.1 RC2... The following is some description about it...
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 scope Spring beans in the same way you can scope JSF beans, giving you the additional session and request scopes.
[ September 01, 2004: Message edited by: Prashanth Joisha ]
Thanks a lot for the link to the great article...
I found it's knowledgable and especially the portion that discusses about the reason why we should use JSF... FYI, I extracted some part of the article down here... Hope others might find it useful...
Why JSF? JSF is not just another Web framework. The following features differentiate JSF from other Web frameworks:
Swing-like object-oriented Web application development: The server-side stateful UI component model with event listeners and handlers initiates object-oriented Web application development.
Backing-bean management: Backing beans are JavaBeans components associated with UI components used in a page. Backing-bean management separates the definition of UI component objects from objects that perform application-specific processing and hold data. JSF implementation stores and manages these backing-bean instances in the proper scope.
Extensible UI component model: JSF UI components are configurable, reusable elements that compose the user interfaces of JSF applications. You can extend the standard UI component and develop a more complex component, e.g., menu bar and tree component.
Flexible rendering model: A renderer separates a UI component's functionality and view. Multiple renderers can be created and used to define different appearances of the same component for the same client or for different clients.
Extensible conversion and validation model: Based on the standard converters and validators, you can develop customized converters and validators, which provide better model protection.