struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Russo" <Frank.Ru...@sas.com>
Subject RE: what version of struts is better?
Date Wed, 11 Apr 2007 13:15:30 GMT
I can't speak to Struts2, as I haven't worked with it. I was just suggesting that you should
look at JSF as well. I've worked with Struts 1 for about 5 years. My last project, I got to
work with JSF and Facelets and was very impressed. The main reason I liked it was that it
was component based. As a UI Framework, that seemed more intuitive than using an Action based
framework, and I felt it lends itself to more code reuse. Being able to do Event Driven coding
was a big plus as well. You can simulate that with an action framework, but it's a bit easier
in JSF. 

Using Facelets was a major step up on JSPs and Tiles. Facelets templating is a bit more advanced
than tiles, and it also allows you to create compound components and use them as custom tags,
and you don't need to write any Java code. The cons of Facelets is that there are some issues
parsing some typical html. For example, you can't use &nbsp;. You have to use &#160;.
Not a major issue, but those lend to the learning curve.

Again, I have not worked with Struts2, so I can't speak to a direct comparison. I was merely
suggesting you take a look at JSF and decide for yourself. One other thing to keep in mind
is that if you have developers who only have experience with Action based frameworks, there
will be a fairly high learning curve. If deadlines are tight, there will be some added pressure...

-----Original Message-----
From: Chris Pratt [mailto:thechrispratt@gmail.com] 
Sent: Tuesday, April 10, 2007 4:56 PM
To: Struts Users Mailing List
Subject: Re: what version of struts is better?

Frank, what is it about JSF that you find superior to Struts 2?  We are internally in a debate
on which way to go (JSF v Struts 2) and I'd like to hear your opinion.
  (*Chris*)

On 4/10/07, Frank Russo <Frank.Russo@sas.com> wrote:
>
> Not to show any disrespect, but if you are starting a new project with 
> a clean slate, I'd seriously look at JSF/Facelets if I were you.
>
> Both frameworks have their pros/cons, but I think JSF's pros well 
> outweigh the cons. Plus, if you are going to take the time and learn a 
> new framework, which if you haven't worked with Struts2 or WebWorks 
> that is what you are doing, then you may want to weigh your options 
> with JSF. I would highly recommend, though, that if you do consider 
> it, Facelets, and not JSP's are the way to go.
>
> Just my 2 cents...
>
> -----Original Message-----
> From: Love, Andrew [mailto:Andrew.Love@McKesson.com]
> Sent: Tuesday, April 10, 2007 4:43 PM
> To: Struts Users Mailing List
> Subject: RE: what version of struts is better?
>
> Hello,
>
> I have a great deal of experience developing web based applications.  
> I have used home-grown frameworks and several commercial frameworks.
>
> I am new to STRUTS2, but my initial impression is that STRUTS2 kicks-butt.
> Form validation and action/navigation management is extremely intuitive.
>
> The original version of STRUTS has a great deal of books and 
> documentation available.  STRUTS2 does not have much in the market 
> yet.  However, STRUTS2 is based on WEBWORK so you should be able to 
> find enough information for your term paper.
>
> Best Regards,
>
> Andrew Love
> Chief Software Architect, Strategic Initiatives
>
> McKesson Corporation
> McKesson Pharmacy Systems
> mailto:andrew.love@mckesson.com
>
>
> -----Original Message-----
> From: dire [mailto:dire33@gmail.com]
> Sent: Tuesday, April 10, 2007 2:30 PM
> To: user@struts.apache.org
> Subject: what version of struts is better?
>
>
> sorry for my English!
>
> in my term paper i want to use Struts. Before this time i don`t have a 
> deal with it. in http://struts.apache.org/ i saw that struts had two 
> versions.
> i
> try to found what version is preferable, but can`t...
>
> Can anybody says how many differencies bitween them? Or, at least, 
> tell me, please, where i can found answer for my question.
>
> thanx for your attention!
> --
> View this message in context:
>
> http://www.nabble.com/what-version-of-struts-is-better--tf3554740.html
> #a9925
> 553
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message