You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wojciech Ciesielski <wc...@f1.pl> on 2005/09/21 20:40:28 UTC

JSF Vs Struts

Hi there,

I am quite experienced with Struts - I've started learning it when JSF where
just in development phase...

Right now JSF became java standard - and it's supported by tools like
MyEclipse and Exadel Studio.

So - I've got two questions:

1. is it difficult to switch from Struts to JSF for Struts-enabled ;-)
developer. How steep is the learning curve?

2. What are the benefits of such a switch apart from choosing more
standarized solution which appears to have more prospects for future?

Regards,

Wojtek





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


Re: Very Simple Struts HTML tag question

Posted by Randy Shepherd <ra...@iwin.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bad randy.. google before you speak.

On Sep 21, 2005, at 12:04 PM, Randy Shepherd wrote:

> I realize that it is non-standard HTML, but I was wondering if the 
> Struts HTML input tag has an equivalent to the autocomplete parameter.
>
> Non-Standard HTML: <input type="text" name="credit_card_number" 
> size="22" autocomplete="off">
> Struts HTML <tag: html:text property="credit_card_number" size="22" 
> ??=?? />
>
> Thanks in advance!
> Randy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDMbV2vmgyD0mfSYQRArD1AJ4pD3wLj+Tgy5RajPbiBFnhgW9qMwCgisJq
m2rvrhtya4Ta2HZa1tId+CM=
=wQAc
-----END PGP SIGNATURE-----


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


Very Simple Struts HTML tag question

Posted by Randy Shepherd <ra...@iwin.com>.
I realize that it is non-standard HTML, but I was wondering if the 
Struts HTML input tag has an equivalent to the autocomplete parameter.

Non-Standard HTML: <input type="text" name="credit_card_number" 
size="22" autocomplete="off">
Struts HTML <tag: html:text property="credit_card_number" size="22" 
??=?? />

Thanks in advance!
Randy


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


Re: JSF Vs Struts

Posted by Siva Jagadeesan <si...@gmail.com>.
> 1. is it difficult to switch from Struts to JSF for Struts-enabled ;-)
> developer. How steep is the learning curve?

There is going to be initial learning curve for sure. BUT IT IS WORTH it.
Struts and JSF are totally in different paradiam. Struts is Action oriented
and JSF is component oriented. When I moved from struts to Tapestry ( which
is also Component based) it was kind of tough. But after I understood
Tapestry it was relatively easy for me to move to JSF.
Very unlogical comparison for struts and jsf is procedural and object
oriented programming. Moving to OOP has some initial learning curve, but no
one can deny it is worth it.

> 2. What are the benefits of such a switch apart from choosing more
> standarized solution which appears to have more prospects for future?
Component based web frameworks is surely going to be there for a long time.


On 9/21/05, Greg Reddin <li...@reddin.org> wrote:
>
>
> On Sep 21, 2005, at 1:40 PM, Wojciech Ciesielski wrote:
>
> > 1. is it difficult to switch from Struts to JSF for Struts-enabled ;-)
> > developer. How steep is the learning curve?
>
> I have not found it terribly difficult, but I've certainly not gone
> very far with it yet either. I think JSF contains a lot of the same
> concepts of Struts, many implemented in a different way. It also
> contains a lot of concepts Struts does not.
>
> I doubt this is the best way, but here's how I learned it: I
> downloaded MyFaces and looked through the MyFaces documentation.
> There were several links to tutorials. One of them was a series of
> slides that were very helpful to me. Once I get a bit more familiar
> with Faces in general and what it's all about I plan to explore Shale
> a bit more. Another way to learn is to just browse the Shale
> messages that come across the list. You'll pick up on a lot
> inadvertently.
>
> >
> > 2. What are the benefits of such a switch apart from choosing more
> > standarized solution which appears to have more prospects for future?
>
> I'm not going to go into the benefits of Struts vs. JSF. It's been
> discussed over and over around here in the last 4 weeks. But to me
> the benefit of learning JSF is to keep up with emerging technology
> and have a more informed viewpoint on it.
>
> Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: JSF Vs Struts

Posted by Greg Reddin <li...@reddin.org>.
On Sep 21, 2005, at 1:40 PM, Wojciech Ciesielski wrote:

> 1. is it difficult to switch from Struts to JSF for Struts-enabled ;-)
> developer. How steep is the learning curve?

I have not found it terribly difficult, but I've certainly not gone  
very far with it yet either.  I think JSF contains a lot of the same  
concepts of Struts, many implemented in a different way.  It also  
contains a lot of concepts Struts does not.

I doubt this is the best way, but here's how I learned it:  I  
downloaded MyFaces and looked through the MyFaces documentation.   
There were several links to tutorials.  One of them was a series of  
slides that were very helpful to me.  Once I get a bit more familiar  
with Faces in general and what it's all about I plan to explore Shale  
a bit more.  Another way to learn is to just browse the Shale  
messages that come across the list.  You'll pick up on a lot  
inadvertently.

>
> 2. What are the benefits of such a switch apart from choosing more
> standarized solution which appears to have more prospects for future?

I'm not going to go into the benefits of Struts vs. JSF.  It's been  
discussed over and over around here in the last 4 weeks.  But to me  
the benefit of learning JSF is to keep up with emerging technology  
and have a more informed viewpoint on it.

Greg

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