This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Spring vs JSF  RSS feed

 
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
 
Would you like to try a free sample? Today we are featuring tiny ads:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!