File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF vs Spring WebFlow vs Spring MVC

 
Niall Loughnane
Ranch Hand
Posts: 208
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17622
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Piyush Mangal
Ranch Hand
Posts: 196
  • 0
  • Mark post as helpful
  • send pies
  • 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: 208
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic