• 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

JSF vs Spring WebFlow vs Spring MVC

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

I'm starting a new project and trying to use the best software,

Do you have any recommendations with using JSF vs Spring WebFlow vs Spring MVC?

Thanks,

Niall
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They can work together.

JSF would be used primarily for the UI aspect of the application.

Spring WebFlow and/or Spring MVC is used for the back-end/server-side processing.

Pat.
 
Saloon Keeper
Posts: 27796
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
"The best" is a term that really annoys me. As the saying goes, Your Mileage May Vary. There is no One Size Fits All and this isn't Highlander, so there can Be More Than One. And I think I just wore out my shift key

JSF plays well with others and I myself have a showcase app that mixes JSF with Spring, where JSF manages the HTML parts and Spring-web manages the XML stuff that some of the AJAX components use.
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring Webflow should only be used when you need to make user follow a strict workflow like booking a flight , booking a movie show where user can not jump or navigate randomly.
As for choosing between between JSF and Spring MVC, it really depends on the kind of skill set and experience you have with these technologies.
 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thanks for all your comments,

I understand that the benefit of Spring WebFlow over JSF is in terms of controlling the flow of the webpages,

Spring MVC is just the web service backend that a frontend technology calls and a different frontend technology is still required such as JSP?

JSF is more a frontend technology than it is a backend architecture?

Are there any other benefits other than experience of using JSF rather than Spring MVC?

My understanding is that JSF cant be compared to Spring MVC as they are totally different architectures?

Thanks,

Niall
reply
    Bookmark Topic Watch Topic
  • New Topic