You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Apache Wiki <wi...@apache.org> on 2006/01/03 20:49:17 UTC

[Struts Wiki] Update of "MigrationStrategy" by DonBrown

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by DonBrown:
http://wiki.apache.org/struts/MigrationStrategy

New page:
The migration strategy of Struts Action 1.x users moving to Struts Action 2.0 involves four non-exclusive paths:
 
 1. '''Run the Struts Action 1.x as is''' - Action 2.0 will ship with the Action 1.3 jars to allow users to run existing applications unchanged.  This is particularly important where frameworks have to be "approved" and by shipping with Action 1.x jars, we help shops make a clean upgrade.

 2. '''Dual processor, shared resources''' - Action 1.x and Action 2.0 servlets running side by side, however, certain resources like message resources, validation rules, and tiles configuration should be able to be shared without conflicts.  This allows the user to migrate pieces of their application at a time without having to replicate everything in the new environment.

 3. '''Use a conversion wizard''' - It might be possible to create a tool that reads the web.xml and struts configuration files, and generates the necessary Action 2.0 configuration files.  Actions, ActionForms, and even PlugIns could be ran as is on the new Action 2.0 framework.  This path also serves as a training tool to assist the user in understanding how Action 2.0 works.  While 100% compatibility is probably impossible, we could make a strong effort to migrate the application, marking areas that don't migrate correctly.

 4. '''Study known Action 1.x applications, rewritten in for Action 2.0''' - Action 2.0 will ship with familiar applications such as the Struts Mailreader rewritten to be built on Action 2.0.  This demonstration will aid full conversion efforts by demonstrating best practices in the new framework.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org