We do have many frameworks available in Java. Struts, Swing, JSF 2.0, Spring etc are used as per their priority. Actually, I don't know how many they are as well!
But, as I am fresher to Java, even learning after their architecture, I cannot decide which framework can be used with what type of Projects !
Also, I am confused with mixed use of framework like Spring + JSF. What is the benefit to it ?
Another thing making me confusing is about the UI components available in market. Like, we do have Primefaces, Ice-faces, MyFaces, Rich-faces. They may or may not have been supporting AJAX in-built. They may contains some bugs as well. What is best choice for Framework + UI component that can directly provide a best feet solution for any project ?