If you absolutely have to choose one over the other my recommendation is Spring. Here’s why:
- It feels like Spring makes developing Test-First easier. The strong leanings toward dependency injection make this feel much easier.
- As a web framework, Spring appears to have the advantage from a scalability perspective.
- JSF just doesn’t have the middle-tier support available in Spring.
- Couldn’t find any way to do deep linking in JSF. For some applications this could be a real “deal breaker”.
- Springs use of “Commons Validator” for client side validation.
- UI creation with JSF is more robust.
- The combination of the two technologies allows for the robust UI layer in JSF to be supplemented by a robust middle-tier provided by Spring.
- JSF appears to be gaining a great deal of support in the industry due to the fact that it was specifically created as an industry standard.
- JSF has a significant set of tools and IDE integrations available to it to easy development.
Hopefully, this brief comparison has helped you in your search for information. If you are looking for more information on the comparison of Spring to JSF you should checkout: https://equinox.dev.java.net/framework-comparison/WebFrameworks.pdf written by Matt Raible.


1 comments:
I think that the comparison pdf has moved to: http://static.raibledesigns.com/repository/presentations/ComparingJavaWebFrameworks-ApacheConEU2007.pdf
Post a Comment