wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts 1 to 2..knowledge carry over ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1 to 2..knowledge carry over !" Watch "Struts 1 to 2..knowledge carry over !" New topic
Author

Struts 1 to 2..knowledge carry over !

V Sahdev
Greenhorn

Joined: Jun 18, 2008
Posts: 14
Just an easy question for you Dave. How much new learning is involved in Struts 2 vs Struts 1 and how much of current knowledge of Struts 1 is helpful in learning Struts 2. I understand the design of Struts 2 is simpler but is it simpler to learn as well.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Struts 2 is a completely different framework than Struts 1. Of course many of the concepts are similar, and knowing any Java web framework will make it easier to understand a new one. There is, however, very little *direct* transfer between S1 and S2.

Dave
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

Originally posted by V Sahdev:
I understand the design of Struts 2 is simpler but is it simpler to learn as well.


I found Struts 2 harder to pick up than Struts 1 (from what I remember of learning Struts 1.0). Struts 2 is so much more flexible than Struts 1 and has some rather, well, "interesting", functionality (interceptors, OGNL), that it took me a while to get a handle on it. Once it clicked, though, it paid off because I'm much more productive with it than Struts 1.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
V Sahdev
Greenhorn

Joined: Jun 18, 2008
Posts: 14
Thanks Dave & Joe for your inputs. Seems like I will get my hands dirty with Struts 2 sometime soon too.
Veera Sundar
Greenhorn

Joined: Jun 08, 2007
Posts: 25
I struggled little bit with Struts 2 initially, but later I could catch up easily. IMO, I think the Struts 2 Hello World example given in Struts2 site is little tricky to understand. So, I wrote my own version of Struts 2 Hello World.


Thanks,<br />Veera |<a href="http://veerasundar.com/blog" target="_blank" rel="nofollow">Blog</a>
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Struts 2 look difficult to pick-up..? no issue ranchers... we have David's book to help us....


Mourougan
Open Source leads to Open Mind
 
 
subject: Struts 1 to 2..knowledge carry over !