I am working for a Software company. My team has been assigned the task of deciding on an application framework which we will be using to develope a multi-tied MVC Web Applpication. However, I am not able to decide which framework is the best. I was thinking of either Struts, Jsf or Spring ? Can someone give me a suggestion in regard to this. I am thinking of using Spring as I am new to it and it want to learn it. But not really sure, please suggest.
I am thinking of using Spring as I am new to it and it want to learn it.
That's not a good reason. Whatever framework you decide on should satisfy the requirements of your application - have you decided on what you need (or want) the framework to do for you? It will also have to fit into the existing application infrastructure (assuming this is not a greenfield project), and all of the team needs to be comfortable using it.
I suggest that everybody who will use the framework takes all the contenders for a spin. JSF and Struts in particular work very differently, so there are bound to be opinions on which one feels more comfortable.
You might also look into more modern frameworks like Wicket and Stripes (instead of JSF and Struts).
- List down the requirements first.
- Have a suggestion here. Folks may tell you why they favor one over the other. Note that down.
- Evaluate the suggestions yourself. Find out Pros and Cons.
- Discuss with the team and then decide.
There are many, not just these 3, as you already know, I believe. Ulf already named Wicket and Stripes, both are equally good. But in the end it all comes to whether you need what the framework provides or is good at, or not. Sometimes, JSPs and Servlets are what is needed, I am not kidding.