Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 93408 invoked from network); 7 Dec 2009 19:54:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Dec 2009 19:54:54 -0000 Received: (qmail 9716 invoked by uid 500); 7 Dec 2009 19:54:54 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 9663 invoked by uid 500); 7 Dec 2009 19:54:54 -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 9653 invoked by uid 99); 7 Dec 2009 19:54:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 19:54:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [85.214.44.140] (HELO e.nrgie.net) (85.214.44.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 19:54:44 +0000 Received: from [192.168.100.147] (p508A6C92.dip.t-dialin.net [80.138.108.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by e.nrgie.net (Postfix) with ESMTP id 250C2EFCC7E for ; Mon, 7 Dec 2009 20:59:39 +0100 (CET) Message-ID: <4B1D5D6E.1010500@it-neering.net> Date: Mon, 07 Dec 2009 20:54:22 +0100 From: Rene Gielen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Struts Developers List Subject: Re: Announcing first shot on a JSR299/CDI/WebBeans support plugin for Struts2 References: <4B1D57A8.6050608@apache.org> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yes, replacing Guice 1-pre with Guice 2 would be the great. I've got some comments, though - will put them to the Struts 2.2 + Guice 2 thread. Musachy Barroso wrote: > sweet. when xwork finally lands on struts I will start looking at > replacing "our guice", with the api from jsr-330 and using guice as > the default implementation, that should go nicely with this plugin. > > musachy > > On Mon, Dec 7, 2009 at 11:29 AM, Rene Gielen wrote: >> I've put my initial works on a Struts2 CDI plugin into the sandbox. It >> implements a JEE6 compliant ObjectFactory, making Actions etc. being wired >> up by the EE container, with all the good stuff like scoped managed beans, >> EJBs and such. >> >> The plugin is built against current S2 trunk (2.2.0-SNAPSHOT). It uses JBoss >> Weld (the JSR299 RI) for building and testing, as well as an early version >> of Weld-SE for testing. The latter dependency is not yet in a maven >> repository, but the build process will bootstrap it from subversion when the >> bootstrap profile is enabled: >> mvn -Pbootstrap install >> Please note that the bootstrap build of Weld-SE enforces use of Maven 2.0.10 >> - don't ask me why ... ;) >> >> I've also put together the inevitable NumberGuess example as a S2 >> implementation, using and demonstrating the CDI-plugin. It works nicely >> against Glassfish V3 full profile preview, JBoss should work as well. >> >> I've got some further ideas for transaction management helper interceptor, >> as well as some thoughts on how a @PreDestroy lifecycle method might be >> supported in Actions. I also plan to add some useful documentation to the >> wiki. >> >> Any feedback highly appreciated, have fun with it :) >> >> Plugin: >> https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-cdi-plugin/ >> Example: >> https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-cdi-example/ >> >> Regards, >> - Rene >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org >> For additional commands, e-mail: dev-help@struts.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org