SpringWebApplication only helps if you are on jdk1.4 or cannot use @SpringBean annotation.
-igor On Thu, Feb 21, 2008 at 1:17 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Hi, > > I read about Wicket-spring integration at > http://cwiki.apache.org/WICKET/spring.html and now I wonder what's the > difference between > > > - extending SpringWebApplication combined with doing > addComponentInstantiationListener(new SpringComponentInjector(this)) > in init(), and > - just doing addComponentInstantiationListener(newSpringComponentInjector( > this)) in init() > > In both cases I injected the dependencies with @SpringBean. The JavaDoc of > the former states that the SpringWebApplication contains helper methods to > create lazyinitproxies, will the lattern do that also? > > thanx. > > -- > Martijn Lindhout > JointEffort IT Services > http://www.jointeffort.nl > [EMAIL PROTECTED] > +31 (0)6 18 47 25 29 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
