File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes What is the drawback of JSF compared to spring? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "What is the drawback of JSF compared to spring?" Watch "What is the drawback of JSF compared to spring?" New topic
Forums: Spring JSF
Author

What is the drawback of JSF compared to spring?

Murugesan Pitchandi
Greenhorn

Joined: Nov 19, 2008
Posts: 8

What is the drawback of JSF compared to spring?
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

First correction I am going to make is you need to compare JSF to Spring MVC. Spring is much bigger than just the web framework piece, as a matter of fact JSF can be used together with any of the other Spring projects including Spring Web Flow.

The 2 are very different paradigms, one is component based while the other is request based.

I would say a couple drawbacks for me are:

1. JSF abstracts away the Servlet API more than I would like.
2. If there are not existing components available to do what you need writing them is painful.
3. I think the learning curve is higher for JSF

*Disclaimer - I have not looked at JSF since JSF 2.0 came out.

These are my opinions your mileage may vary as they say.

JSF is one of the frameworks compared in link I gave in your other thread.

http://www.coderanch.com/t/605543/Spring/Framework-Web-Layer-Struts-Spring

FYI chances are if you post this in the JSF forum you will get a totally different perspective. Since I am biased I think it will behoove you to hear from JSF users what they like or dislike about it, therefore I am going to add this to the JSF forum as well in case somebody wants to comment.


[How To Ask Questions][Read before you PM me]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the drawback of JSF compared to spring?