> a static service inside a component?
Why not? Services are typically singletons and I can't see a problem to share an instance. From the dependency point of view it is equal to use * static Service svc, * transient Service svc or * Service svc I think the disadvantage of my solution is the inversion of inversion of control ;-) But even if I start to use the Spring annotation, I'm interested in possible disadvantages of using static members to avoid serialization. Maybe there will be a use case where dependencies are not important ... Thanks. Christian -- http://www.groovy-forum.de --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org