| Author |
Which is better JSF or Struts?
|
Varadhan Sesharaman
Greenhorn
Joined: Apr 21, 2011
Posts: 18
|
|
Hi guys,
I am new to JSF and i have some work exp in Struts.
And I want to clarify a doubt which is better framework Struts or Jsf.
For that I need a justified answer.
Thanks
|
 |
Abhinav Taduka
Greenhorn
Joined: Feb 02, 2012
Posts: 6
|
|
The Advantages of Struts:
Mature and proven
Lots of documentation and reference materials
Large developer base
Broad tool and IDE support
Open source
The Advantages of JavaServer Faces:
Standard UI component model
Robust event handling mechanism
Render kit support for different clients
Highly 'pluggable' - components, view handler, etc
Governed by JCP
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 12513
|
|
I switched from Struts to JSF about 5 years ago and haven't looked back.
In theory, Struts is more "bare metal" and therefore can achieve higher performance, but in practice, I don't know of anyone who's actually measured this. You can mix Struts and JSF in the same webapp, incidentally.
In reality, JSF gives better data validation with less work and fewer source files, so unless I have a particular performance issue, I don't worry about any hypothetical speed benefits of Struts over JSF. Assuming that there really are any.
|
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
|
 |
 |
|
|
subject: Which is better JSF or Struts?
|
|
|