Hi,

I use @SpringBean in my applications.
The only reason one to switch to @Inject is if your application may use
Guice in the future. Using @Inject will make it easier to migrate.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Jan 31, 2017 at 4:36 AM, James Selvakumar <[email protected]>
wrote:

> Hi all,
>
> I've always used @SpringBean annotation to inject Spring beans in my Wicket
> components.
> We found that we could also use the standard @Inject annotation in Wicket
> components.
> Is it advisable to use @Inject instead of @SpringBean?
> Or should we continue to use @SpringBean?
>
> --
> Thanks & regards
> James
>

Reply via email to