On Saturday 18 April 2009 15:14:32 Dave Newton wrote:
> Struts Two wrote:
> > Going through Maven xml files in the link you provided to check for
> > spring jar dependencies, I noticed a dependency on spring-web.jar, I was
> > wondering where does it fit. I know that:
> >
> > spring-beans.jar, spring-core.jar, spring-context.jar are required for
> > DI. spring-aop.jar is used for Aspect oriented part.
> > cglib-nodep-2.1_3.jar is used by AOP for creating proxies.
> >
> > As for the web part, we all are using struts 2 and not sure
> > spring-web.jar fits. I am trying to create a blank template with minimum
> > number of spring jars and I would appreciate any hints on that?
>
> I'd assume for the web context.
>
> Dave
>

Sorry, I'm jumping in late, I have this willow tree in the backyard that the 
wife has recently indicated that either it goes or I go :) 

Dave is correct... The spring-web is included because it contains things like 
WebApplicationContext and ContextLoadListener. The CGLIB is not necessarily 
required, but it can be useful in cases where you are not proxying to an 
interface... I'd drop a plug for my book here since I go into this in detail 
in chapters 2 & 3, but you all probably already know that from buying and 
reviewing the MEAP version :-P

-Wes


-- 

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

Reply via email to