• 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: 18277
56
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