Re: JSR 330 Spring

2010-01-25 Thread Jochen Mader
Thanks for the quick answer.
I never came across a scenario where somebody did or I would use two IoC
containers in the same application.
Why would you do that?

Cheers,

Jochen


Re: JSR 330 Spring

2010-01-25 Thread Martin Grigorov
On Mon, 2010-01-25 at 15:34 +0100, Jochen Mader wrote:
> Hello,
> I am using wicket together with spring. Getting it going with @SpringBean
> was pretty straight forward but now I am wondering if it is possible to get
> it going with JSR 330 annotations as the spring side of my app is already
> using it.
> 
> Thanks,
> 
> Jochen
Currently it wont work because there is no implementation in Wicket for
these annotations.

As far as I remember wicket-ioc needs to use @SpringBean and @Inject
because this way each Injector implementation knows which annotated
members to inject. If you use jsr330 and have registered both Spring and
Guice annotations then they will not know which one to process the
annotated member. 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



JSR 330 Spring

2010-01-25 Thread Jochen Mader
Hello,
I am using wicket together with spring. Getting it going with @SpringBean
was pretty straight forward but now I am wondering if it is possible to get
it going with JSR 330 annotations as the spring side of my app is already
using it.

Thanks,

Jochen