myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
Subject Re: The Positives Of JSF
Date Sat, 09 Dec 2006 15:16:33 GMT
On 12/8/06, Nebinger, David <dnebinger@tbbgl.com> wrote:
> Are they still working on 2.0?

Yep. We're about to release the third beta.

* http://struts.apache.org/2.x/

> I've heard that JSF was to be considered 2.0,

Yes, it was considered, but not everyone was ready to make the
paradigm jump from action-based to component-based.

> I've heard  that it  was to be abandoned for Shale,

No, that was never the case. The Struts PMC chose not to adopt Shale
as Struts 2. We hosted it as a subproject for a time, but now Shale is
an Apache Project in its own right.

* http://shale.apache.org/

> and I'm aware that there is a core set of
> struts-lovers that  would prefer incremental updates to struts.

Yes, that's true. There are tens of thousand of Struts 1 applications
in production, and some people don't want to start over yet. Struts
1.3.6 is also about to be released. There are also extensions like
Strecks that add Java 5 features, like annoncations, to Struts 1. Both
Struts 1 ans 2 also work well with technologies like Ajax.


> All I know is that we have projects underway right now.  We needed a modern framework
> that was built under the modern IOC pattern.  JSF fits; struts (in it's current incarnation)
> does not.

I'm not advocating that anyone put aside JSF or MyFaces (I helped
bring MyFaces into the ASF), but, to give the devil its due, the
current incanation of Struts 2 is in fact "built under the modern IOC
pattern". Struts 2 also offers

* Client side support
* No required inheritence
* IOC capabilities
* Testability

and other goodies like plugin support.

Of course, there are many good reasons to choose JSF. The top three in
my book would be

1 Bundled with Sun's Java distribution
2 Supported by IDEs
3 Compatible with GUI architectures

A professional chooses the right tool for the right job. In some
circumstnaces, that's going to be JSF and MyFaces, or Shale. Other
times, in other circumstances, it may be Struts 1 or Struts 2.

Technically, all of these frameworks, along with ASP.NET, are roughly
equivalent. What makes the difference is the people who use the
frameworks. The pointy-haired bosses don't like to hear that, because
they want developers to be replaceable commodities and frameworks to
be silver bullets. But, the truth is, web development is still a
skilled profession, and not a matter of just clicking buttons in a
GUI.

-Ted.

Mime
View raw message