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
In the programming assignments, you are going to develop a simple distributed ticket reservation system (DTRS). This system is used by customers (with unique 6-digit customerID s)

I want Crime Management website Project Description: It is a web based project build in J2EE as front end and Oracle as back end for peoples so they will register complaints

Determine Why java is robust Java is very robust o Both, vs. unintentional errors and vs. malicious code such as viruses. o Java has slightly worse performance as


Explain traversing through a collector using Iterator. Ans. We can access each element in Collection by using Iterators regardless of how they are organized in collector. Ite

I need to code using java in netbeans for my dissertation which is in data mining domain...deals with privacy preserving of sensitive rules or items using association rule hiding

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

There is no separate homework this week, but you may complete the exercises ahead of time, in which case you only need to attend for long enough to get your work marked off by your

Java coding required Project Description: Need to develop a website. Require Java coders urgently. Skills required are Graphic Design, HTML, PHP, Java, Website Design

Problem statement Part 1 Write an aspect that counts different kinds of method calls in a Java program. Your aspect should meet the following requirements:  The aspect should ma