• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

spring web flow vs JSF navigation

 
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have experience with Spring Web flow but never worked with JSF and i am going to learn that. I thought it is UI technology
but it also have capabilities similar to SWF.
I want to know -
What are the differences and what are their usage. In what kind of envrionemnt we should opt one over another?
I remember, in a project our manager wanted to replace JSPs with JSFs/Facelets.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSF is one of the purest implementations of the Model/View/Controller (MVC) paradigm that exists for J2EE and it is an integral part of the JEE specification (unlike Struts, Spring web, Wicket and so forth).

There is no one-size-fits-all solution, but JSF is a good fit for applications where a lot of web forms are required to be processed and intensive data validation is required. JSF takes an all-or-nothing approach to data validation: if any submitted data is invalid, it is all rejected and suitable error messages are returned to the user.

Other useful amenities of JSF are Facelets (which I have found to be a lot easier to work with than Struts Tiles) and the fact that in virtually all cases, you don't have to provide Controller code, only View templates and Model objects. The Controllers are already built into JSF, debugged and ready to use.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic