This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF vs Spring WebFlow vs Spring MVC" Watch "JSF vs Spring WebFlow vs Spring MVC" New topic
Author

JSF vs Spring WebFlow vs Spring MVC

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
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
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

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.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

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


Customer surveys are for companies who didn't pay proper attention to begin with.
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF vs Spring WebFlow vs Spring MVC
 
Similar Threads
struts2 Vs spring mvc
Wicket vs Spring WebFlow?
Spring plugin with eclipse
Spring vs Struts Framework
Seam Vs Spring