• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Struts 1 to 2..knowledge carry over !

 
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.
 
Author
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
 
Bartender
Posts: 9615
16
Mac OS X Linux 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.
 
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.
 
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • 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....
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic