• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Spring vs JSF

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the basic diferences between frameworks JSF and Spring?
 
author
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No real differences since they're aimed at different levels. You can build Faces apps that work well with Spring for your model layer.
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring with JSF is a worthy integration, I must say.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wonder if some of the Spring vs. JSF questions arise from terminology and the difference between the Spring Core Framework and Spring-MVC. The core framework is, IMHO, a great way to manage the model and data access layers. Spring-MVC is just one implementation choice for the view and control layers (others in this field include JSF and Struts).

So, "Spring" vs. JSF could (and probably usually does) mean core framework vs. JSF, which is not really a "vs." since they are completely complementary frameworks.

On the other hand it could mean Spring-MVC vs. JSF, which are pretty much "competing" technologies for the view and control layer. Whilst they "compete" in the view and control space they are based on different fundamental approaches - Spring-MVC on the request-response model familiar to HTTP applications (also used by Struts), and JSF on (as I understand - my JSF knowledge is currently minimal) an event model more akin to the Swing approach.

Sorry for stating the obvious for some people but those not too familiar with Spring may welcome the clarification.

Simon
 
Heberton B. Alves dos Santos
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PERFECT, SIMON! THANKS!
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simon, thanks for the concise analysis. Exactly what I was looking for.

Thanks
 
get schwifty. tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic