






Struts
|
JSF
|
Struts is an open-source product.
|
JSF is a specification.Comes with different implementations viz. From Sun, MyFaces..
|
Struts actions are tied to the Struts API
|
JSF action methods are implemented in Plain Old Java Objects. No dependencies on JSF framework.
|
Form Bean contains data and the Action Bean contains logic.
|
Everything is embedded in Managed Bean(POJO)
|
Struts creates action beans and form beans for you.
|
JSF uses dependency injection, the container instantiates the Managed Beans.
|
Struts is based on actions.
|
JSF has an event model that lets you react to value changes, actions.
|
Learning curve is more
|
Less learning curve.
|
More user base
|
Picking up momentum
|
Tiles can be used
|
Tiles can be used
|
