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
Question 1 Explain the data types in Java Question 2 Write a note on StringBuffer Question 3 What is Exception? Question 4 Write a note on stream classes Questi

Can I please get your help in my assignment and a quote if possible

codes and output on how to make multiple choices quiz

Static resources should always be contained using the JSP include directive. This way, the inclusion is performed just once during the translation phase. Do note that you should al

Explain the Reading documentation for a class in the class library For instance, let's suppose you need to use the URL class in the java.net package. Through reading the docume

Debugging mode can be enabled by adding the following line of code before creating new connections: XMPPConnection.DEBUG_ENABLED = true; When debugging mode is enabled, a

What is a multicast delegate? Every delegate object holds reference to a single method. Though, it is possible for a delegate object to hold references of and invoke multiple m

Question : (a) Explain the concept of polymorphism when used in programs using suitable examples of your own. (b) (i) Distinguish between abstract methods and non-abstrac

1. In this lab assignment we will be using the vim or emacs editor in addition to the commands we have already learned. Open a shell terminal and create a file named in your home d