This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What are advantages of using JSF with Spring?

 
Fabio Cunha
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JSF to make my web applications, I would like to know what advantages I would get if using Spring with JSF? someone who uses both tools could tell me?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18226
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Major advantages.

I use Spring to provide persistence services for JPA. I also use it to wire in specialized components such as emailers, allowing me to swap out for test modules without having to change program code.

JSF can automatically construct and wire UI-related objects. Spring can do the same for the non-UI objects. By joining the two, you can take a lot of the "grunt work" out of application development and maintenance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic