File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes JSF vs Spring WebFlow vs Spring MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF vs Spring WebFlow vs Spring MVC" Watch "JSF vs Spring WebFlow vs Spring MVC" New topic

JSF vs Spring WebFlow vs Spring MVC

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208

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?


William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

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.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

"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.

An IDE is no substitute for an Intelligent Developer.
Piyush Mangal
Ranch Hand

Joined: Jan 22, 2007
Posts: 196
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

Joined: Dec 07, 2006
Posts: 208

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?


I agree. Here's the link:
subject: JSF vs Spring WebFlow vs Spring MVC
It's not a secret anymore!