Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 1 to 2..knowledge carry over !

 
V Sahdev
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9300
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
V Sahdev
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dave & Joe for your inputs. Seems like I will get my hands dirty with Struts 2 sometime soon too.
 
Veera Sundar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 2 look difficult to pick-up..? no issue ranchers... we have David's book to help us....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic