If Dependency Injection is all you want to do then indeed Spring may not be the best choice, but in my case at least I use it for more than that, as I also use the Spring Transaction Manager and Spring Mailer. Also, Spring does seem to cater mainly to XML fetishists, but they do offer alternatives: <?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd "> <context:annotation-config /> <context:component-scan base-package="path.to.your.beans" /> </beans> After this, you just use @Component and @Autowired annotations for your beans and dependencies, respectively. No need to muck around in XML aside from some initial config. Spring does not need to be painful. Cheers, Jeroen
DISCLAIMER: I have never used Guice 2009/7/23 francisco treacy <francisco.tre...@gmail.com> > http://fiber-space.de/wordpress/?p=1016 > > 2009/7/23 Uwe Schäfer <schae...@thomas-daily.de>: > > Johannes Schneider schrieb: > >> > >> It's the better Spring ;-) > > > > agreed! > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >