I have a question you might think that what a stupid question it is. But When we see many of companies they use Struts or Everywhere you find struts. Why aren't using jsf it has fastest development as compare to struts.
can anybody explain why not to use jsf.or does it has disadvantages???
Just a few possibilities why Struts might have been choosen over JSF:
- Struts is four years older than JSF
- Not every developer is comfortable to use a component-oriented framework (JSF) when they used a page-oriented framework for a long time. So if knowledge already exists, why try something new?
- technical decision are not *always* reasonable (nor made by people who understand the impact of such decisions)
I guess there are more reasons, but there is not the "one" reason why it is like it is.
A lot of that stuff is 8-year old projects. It isn't economical to completely rewrite apps just because a more productive technology comes out, especially when the biggest productivity cost - initial code creation - has already been paid.
I have done all my new development in JSF since 2005. I much prefer JSF to Struts, and I wrote one of the earliest magazine articles on the benefits and use of Struts (in 2001). I wouldn't (absent a compelling reason such as performance) do new development or design in Struts, but Struts isn't such a horrible platform to support that I'd go in and replace Struts code gratuitously.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Apr 27, 2010
thanks Joachim Rohde & Tim Holloway
Your answers sounds good than other answers i read on net.
reason to my question is that whenever i heard about requirement in j2ee they(companies) require only struts. so what i thought that jsf makes your development easy than struts then what is reason behind it.