Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Reasons to migrate from Struts to Struts 2

 
Author
Posts: 3445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any compelling reasons or major benefit in migrating from Struts to Struts 2?
 
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMHO, the main reasons would be testability and not being bound to a particular framework/container, but you can find a full comparison here
 
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To add to that list, features like POJO suppport (making the code base a bit more cleaner) and first hand AJAX support, OGNL are certainly candidates to be considered for moving to Struts 2
[ April 29, 2008: Message edited by: Reghu Ram T ]
 
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While all these are technical reasons for migrating Struts 1 to 2, I would say that the business reasons are far more important. If you've an existing web application built with Struts 1 and it is robust and serving the customers well, there is really no business value or sense to just do a technology upgrade or refresh.

My point is to not get carried away by all the technical reasons and forget that all work needs to be justified in dollars and cents.
 
Alaa Nassef
Ranch Hand
Posts: 471
Mac OS X Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Chengwei Lee:
While all these are technical reasons for migrating Struts 1 to 2, I would say that the business reasons are far more important. If you've an existing web application built with Struts 1 and it is robust and serving the customers well, there is really no business value or sense to just do a technology upgrade or refresh.

My point is to not get carried away by all the technical reasons and forget that all work needs to be justified in dollars and cents.



I totally agree with that. I was speaking about migrating for new projects. changing the framework of an old project is a pain that should never be done unless there is a really important business reason
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I was speaking about migrating for new projects.


You don't migrate for new projects. You usually migrate from something (old) to something (new)
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is 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