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
What does WAN stand for? Wide Area Network - A network in that computers are separated through great distances classically across cities or even continents.

What will be the output of this programme? Write comments where you find "//" symbol in the following code? function doSomething() { // 1 setTimeout('doSomething()',10000


Output first x values in the fibonacci sequence, where x is an argument to the program. 0, 1, 1, 2, 3, 5, 8, ... Write the fibonacci creation function separate from the main func


A simple Desktop Software Project Description: We want a tool that could convert Flash Games into HTML5 Files. These are not tedious games, very simple game. I have attached

Java Virtual Machine & Runtime Environment Basic Concept When you write a program in C++ it's called source code. C++ compiler converts this source code into the machine c

Explain Animate gifs? We can save 16 gif images of the previous instance in a single file in the form of an animated gif, and then used it in a regular tag to display a movi

We require expert programmers who will solve problems, who can code by the book, and who will code in java and JavaScript what is designed. Skills required: CSS, Java, HTML5,

Need Remote Synchronization tool for folders and files? Project Description:                 We want a tool to synchronize the content of one or more folders on the file syst