On Thu, Feb 12, 2009 at 7:47 AM, Sonny Gill <sonny.pub...@gmail.com> wrote: > That's partly the reason I was trying to do this. > With Guice already included in Struts, it somehow feels wrong to add > Spring just for very basic DI. > > Sonny
There are warnings from time to time that we don't expose the details of the internal DI because we want to reserve the right to change the inner workings. If you are familiar with Spring, go ahead and use it, despite all of the available features, it will only bring in what you want to use... If you like the @Inject annotation, there is also a GUICE plugin that works pretty well. Guice is easy to learn and quick to implement. -- 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