On 8/23/06, Ted Husted <[EMAIL PROTECTED]> wrote:
> I'm hoping to upgrade AppFuse from WW to the latest Struts 2.0.0
> snapshot this week. I'm starting a presentation on "Migrating from
> Struts 1 to Struts 2" next week.  Has anyone started such a document?
> I'd be happy to contribute.

Not as such. The release notes have more about migrating from WW2 to
S2 than from S1 to S2.

* http://cwiki.apache.org/WW/migration-guide.html

There are a lot of 1:1 comparisons and places where you can change
things over with a quick search/replace. You don't have to rework the
application architecture or logic, but there are a lot of simple code
changes, which is to say code simplifications.

In my five-day class last week, we spent most of the time covering
Struts 2 from the ground-up, and I made comparisons to Struts 1 along
the way. The course uses the MailReader as a running example. On day
five, after we had built our own Struts 2 MailReader, we went back to
the Struts 1 version. We deployed the Struts 1 MailReader WAR, and
then started converting it to Struts 2, page by page. We got a good
start, and it really helped show how the versions differ.

For my "three-hour tour" at ApacheCon US, I was thinking of covering
the high-points, and then go to work on converting the MailReader,
page by page. (Encouraging people to follow along on their own
laptops.)

During the high-points presentation, I thought we might show a
struts-config.xml and then the same thing as a struts.xml
configuration. Ditto for the Actions and pages. After covering the
basics, we could spend the rest of the time migrating the MailReader,
live and direct.

Is that the sort of thing you had in mind, Matt?

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to