What is the difference between jsf and struts




















Struts framework give you the ability to map URLs to activities and code on the back end, whereas JSF rendered on the page are initially developed as individual components, much like in modern GUI. Struts is the best for designing the Controller components because at the time of struts designing the developers of struts more consentrated on Controller layer.

Struts provides alist of tag libraries to handles the beans and resources bundels where as JSF doesn't. Both will implement mvc2 design pattern, struts given by apache, jsf given by sun. Post New Answer. Hi Friends, why struts introduced in to web application. Plz dont send any links. Need main reason for implementing struts. Thanks Prakash. Spring Framework is an application framework. It will provide an excellent environment to prepare and execute all applications like standalone applications, web applications, distributed applications.

Struts is a controller layered framework. It has an excellent focus on the controller layer in MVC. Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in:. Email required Address never made public. Name required. Follow Following. Java Stuffs. Sign me up. Already have a WordPress. Log in now. Struts is an open-source product, whereas JSF is a specification. Like Spring, JSF uses dependency injection or inversion of control, if you will , for instantiating and initializing beans.

JSF has an event model that lets you react to value changes, actions, and phase changes in the JSF lifecycle. Struts tags generate HTML directly.



0コメント

  • 1000 / 1000