Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 17118 invoked from network); 3 Sep 2007 07:28:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 07:28:57 -0000 Received: (qmail 27898 invoked by uid 500); 3 Sep 2007 07:28:51 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 27855 invoked by uid 500); 3 Sep 2007 07:28:51 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 27843 invoked by uid 99); 3 Sep 2007 07:28:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 00:28:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.162.236] (HELO nz-out-0506.google.com) (64.233.162.236) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 07:28:47 +0000 Received: by nz-out-0506.google.com with SMTP id z31so684593nzd for ; Mon, 03 Sep 2007 00:28:24 -0700 (PDT) Received: by 10.142.73.8 with SMTP id v8mr215921wfa.1188804503390; Mon, 03 Sep 2007 00:28:23 -0700 (PDT) Received: by 10.143.8.20 with HTTP; Mon, 3 Sep 2007 00:28:23 -0700 (PDT) Message-ID: <436d9a250709030028h2633efe3mb5e14627c1efad1b@mail.gmail.com> Date: Mon, 3 Sep 2007 17:28:23 +1000 From: "Don Brown" To: "Struts Developers List" Subject: [s2] Painless migration with WebWork 2 plugin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I've completed a spike on a Struts 2 plugin for WebWork 2, providing a drop-in replacement with no code or configuration file changes. So far, I've only tested it with simple Spring-based applications, so I'm sure there are more areas it will need to wrap, but so far, you just drop in Struts 2 with this plugin to replace WebWork 2. Since we changed packages for XWork 2, this was actually pretty easy. In the plugin, I extended relevant interfaces and classes like so: package com.opensymphony.xwork; public interface Action extends com.opensymphony.xwork2.Action {} The plugin then * provides a com.opensymphony.webwork.dispatcher.FilterDispatcher class * adds support for xwork.xml files (stubbing webwork-default.xml correctly) * translates webwork.properties files * provides the tags with expected URI and prefix (JSP, Freemarker, and Velocity). I hope to try the plugin on more advanced WebWork 2 applications (Atlassian, my employer, has a couple), so I'm hopeful it can save us a good amount of work. http://cwiki.apache.org/S2PLUGINS/webwork2-plugin.html Don --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org