struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rene Gielen <gie...@it-neering.net>
Subject Re: Announcing first shot on a JSR299/CDI/WebBeans support plugin for Struts2
Date Mon, 07 Dec 2009 19:54:22 GMT
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 <rgielen@apache.org> 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


Mime
View raw message