• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

New to Struts framework

 
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all!
I am new to Struts framework.
Should I start with struts or work with struts 2?
Also mention any recommandable books/projects to get started quickly.

Is there any support for annotations instead of maintaining large amount of configuration files? please mention.
 
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Start with Struts and then migrate to Struts2... And there is a lot of good tutorials available online.. So do try one of them.. If not satisfied then throw your money to get a good book like Struts:Complete Reference!!!
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rajkumar balakrishnan:
Start with Struts and then migrate to Struts2.



What would be the point to that? Struts and Struts 2 share little except the basic front controller concept. If Sumit is going to be writing new code rather than maintaining existing Struts apps, I say learn Struts 2 and don't look back.

Originally posted by Sumit Bisht:

any recommandable books/projects to get started quickly.


Our Struts FAQ has many resources for both versions.

Originally posted by Sumit Bisht:

Is there any support for annotations instead of maintaining large amount of configuration files?


Struts 2 supports annotations. Coming from Struts 1, I'm more comfortable with the config files, so that's what I use.
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry Joe Ess,
I was been fooled by my friend,as they told me that Struts2 can only understandable if you already learn Struts....
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rajkumar balakrishnan:
Sorry Joe Ess,



Don't be. I'm just voicing an opinion, and you are welcome to yours.
There are reasons to learn Struts 1. It is by far the most popular Java web framework in use today. A professional programmer should have it in his toolbox. I think Struts 1 is easier to learn than Struts 2 (Struts 2 is so flexible it's hard to nail down exactly what's going on sometimes).
Which version of Struts to learn really depends on what Sumit intends to do.
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Joe Ess:


Don't be. I'm just voicing an opinion, and you are welcome to yours.
There are reasons to learn Struts 1. It is by far the most popular Java web framework in use today. A professional programmer should have it in his toolbox. I think Struts 1 is easier to learn than Struts 2 (Struts 2 is so flexible it's hard to nail down exactly what's going on sometimes).
Which version of Struts to learn really depends on what Sumit intends to do.




Never be like that...
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Joe Ess:
It is by far the most popular Java web framework in use today. A professional programmer should have it in his toolbox.



Hm, I don't agree with this. While it may drive more "in production" sites that have been around for 5+ years, I wouldn't call it the most popular and I definitely don't think java developers today need Struts(1) in their toolbox.
 
Sumit Bisht
Ranch Hand
Posts: 331
Python Ruby Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all for your concerned advices.Hope to have a great time in using this framework.
reply
    Bookmark Topic Watch Topic
  • New Topic