http://struts.apache.org/2.0.14/docs/spring-plugin.html
that works as long as you're autowiring by type e.g. struts.objectFactory.spring.autoWire = type ask any implementation questions here Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Tue, 2 Jun 2009 09:36:57 -0400 > Subject: Re: Introducing Spring in Struts2 Project > From: w...@wantii.com > To: user@struts.apache.org > > On Tue, Jun 2, 2009 at 9:32 AM, alee amin > <mailing.list.mail...@gmail.com> wrote: > > I have been assigned a task to introduce spring in struts 2 project. I have > > been novice at both technologies. Right now i am going through the project > > to analyze what is actually going and i thought to get some advice from > > experts sitting across the globe. > > > > What could be the key areas which will get effected if we introduce spring > > in struts 2. What things should i look for. > > There are a few different ways to introduce spring. The way I've > always gotten the most bang for the buck is to take advantage of > autowiring on action properties. I tend not to configure my struts > actions as spring beans, I usually just roll the actions configured > via the conventions plugin. Even with conventions, the actions can > still be autowired by name. This way, my Struts stays very Struts-y > and I have fine-grained control over the service layer through Spring > configuration. > > I find it to be a good balance of configuring what I want to be > configurable and utilizing a Conventions over Configuration approach > where it makes sense to me. Of course, YMMV depending on the size / > scope of the project. > > > > > > > P.S: > > The project is simple CRUD application. Which is using Struts2, JPA and > > Hibernate. > > > > ..alee > > http://techboard.wordpress.com > > > > > > -- > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009