Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Should I learn Struts?

 
Josh Juneau
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a fairly experienced JSF/Swing developer at this time and I have never used Struts. I have heard many rantings and ravings about Struts, however, I started off using JSP, then began to utilize the JSF framework and I've never really looked back. Now I am seeing many articles about Struts and JSF working very well together and I am beginning to wonder if it would be worth learning more about Struts.

Knowing that I am comfortable and experienced using JSF at this time, does it make sense for me to devote time into learning Struts?

Thanks for your thoughts!

Josh
 
George Franciscus
author
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have been using Servlets and JSP then I'm sure you find yourself writing the same code time and time again. Or perhaps you have started to write your own framework to save yourself some time. Well, that's exactly what Struts does for you. Struts takes the grunt work out of managing the request, delegating the response and validating the input.

Struts empowers you to use whatever view technolgy you like. You can use JSP, Velocity or JSF.

Using a presentation framework, such as Struts, will save you a lot of time.

Please see the following link for information on Struts and JSF
http://struts.apache.org/faqs/kickstart.html
 
Josh Juneau
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link. I will take a look...

I felt that JSF really took care of all of my request/responses...JSP was messy until I learned JSF. I've been using JSF to reuse portions of code where needed as well. I just create subviews of different code sections to reuse, and I can incorporate them into any other JSP as well.

I will definitely take a look at the link and see what Struts has to offer.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic