by, 11-13-2011 at 12:31 PM (1276 Views)
It has been a problem with open source or community based developments that they provide more options than standards. When we look for java, standard/enterprise java and its development have always remain with standard, but while looking for some web framework in java, we get several names. From MVC based frameworks like Struts, JSF to specialized frameworks like Tapestry, Spring etc. Frameworks with similar and overlapping features making it difficult for a person to choose the best fit. When there is a choice some people opt for one framework and some for others.
With the passage of time some frameworks loose market while others gain. Same is the case with Struts and JSF. Previously Struts has remained a framework of choice for people, who wanted complex web applications under ease of MVC. But with the time, Struts has loose much of its market for JSF. And time suggests that, JSF will remain more promising as compared to struts. One of the main reasons behind success of JSF is parent company of java, which tried to standardize JSF on similar patterns, it use for java standardization.
JSF is a server side component based framework for java based web applications. Like struts, it is based on MVC. Its positive points over struts are strong view side and standardization. JSF framework comprise of a specification and reference implementation for framework. It can be divided into Component, Events, Back End data integration and Validators. Power of JSF is that it supports built-in component and event model for UI.