Jsf framework compare with the struts framework, JAVA Programming

       Struts framework

                           J a v a Server Faces

More matured since Struts has been started for a few years. It has got various successful implementations.

   Less matured than Struts.

The heart of Struts framework is the controller,which uses the front controller configuration pattern and the  command design pattern. Struts framework has got only single event handler for the HTTP handler.

 The heart of JSF framework is the Page Controller Pattern  where there is a front controller servlet where all the faces request send through with the UI elements and then fire off events for each component and render the elements using  a  render toolkit. Also  JSF loosely couples your program, where  it may hook into your model.

Struts does not have the principle of Rapid

Application Development (RAD).

JSF was creating with a component model in mind to allow RAD. JSF may be thought of as a combination of Struts framework for thin users and  the  Java  Swing  user  interface framework for  thick users.

Has got flexible page navigation using navigation principles inside  the Action  classes and struts-config.xml  file using mapping.findForward (...) .

JSF  allows  for     a  better  design and more flexible  navigation  because the navigation principle is decoupled from  the  Action whereas Struts performs you  to  hook navigation into your Action classes.

Posted Date: 7/26/2012 6:04:52 AM | Location : United States







Related Discussions:- Jsf framework compare with the struts framework, Assignment Help, Ask Question on Jsf framework compare with the struts framework, Get Answer, Expert's Help, Jsf framework compare with the struts framework Discussions

Write discussion on Jsf framework compare with the struts framework
Your posts are moderated
Related Questions
Describe the final keyword ? The final keyword is used in various different contexts as a modifier meaning in which what it modifies cannot be changed in a few sense. final c

Explain System Colors in java 1.1? In Java 1.1, the java.awt.SystemColor class is a subclass of java.awt.Color that gives color constants in which match native component colors

In this exercise, I want you to generate password based on random number generator. Develop an application that keeps track of the URL, username and password. I have listed few st


Determine the phase Loading- Java Program Development In phase 3, the program must first be placed in memory before it can be executed. This is done by the class loader, whic

Develop a Computer program and application. Project Description: I want a project done. It is a computer desktop application program. It is not very hard. If you need the det

Benefits of AOP (Aspect Oriented programming) OOP can give the system level code like transaction management, logging, security etc to scatter throughout the business logic. A

Write JavaScript code that is executed during form submission to calculate the cost of each book (based on quantity specified) and the overall total cost. The results should be dis

can you explain me the er diagram for the online doctor system

What is Arithmetic promotion assignment and casting? In an assignment statement, i.e. if there's an equals sign, Java compares the type of the left hand side to the at last typ