Some of advantages that our team recognized when we decided to convert
to JSF:

1. Automatic type conversion of bean elements (i.e., don't have to
translate everything to and from String)
2. Bi-directional conversion between browser info and bean info (i.e.,
both encoding and decoding capabilities built in, rather than just
decoding capabilities)
3. Validation and conversion is more robust, extensible, re-usable, and
concise
4. We can now define and re-use (not just copy and paste) actual
components now, both in-house and third party, thus drastically reducing
coding the same things over and over.
5. Just as Struts codified best practices that people were hand coding
already, JSF is also codifying the next level of best practices that
people have had to code by hand when using Struts (e.g., the JSF
lifecycle events).
6. Virtually eliminates any kind of logic needed in the JSPs, increasing
reliability of code.
7. Virtually eliminates any need for the application logic to directly
access the Session and Request attributes/parameters, increasing the
reliability of the code.

The bottom line implications of the above were:

1. Less coding in both the Java code and the JSPs
2. More opportunities for re-use (both in-house and third party)
3. Because of 1 and 2:

a. Faster development
b. More reliable applications

- Brendan

-----Original Message-----
From: Lindholm, Greg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 20, 2005 8:50 AM
To: [email protected]
Subject: Justification to switch to JSF from Struts?


I've been using Struts for a while and have just started learning JSF.
I'm reading "Java Server Faces In Action" right now and have "Core Java
Server Faces" sitting on my desk.

I'm liking what I'm seeing and seriously considering using JSF/MyFaces
for my next project.  However, I need to be able to justify a technology
change to my manager (and to myself).  There is a non-trivial cost
whenever you switch to a new technology.  (Learning, testing, developing
methodolgies, training others, etc.)

I'm looking for reasons to justify a switch to JSF from Struts.

I started to prepare a list of "short-coming" with Struts from my own
experience.
The JSF designers must already have this list. Where can I find it?

I guessing this is a popular topic but I've search and not been able to
find a consise list yet. 

TIA

Greg

 

Reply via email to