@SpringBean instead @Resource

View: New views
4 Messages — Rating Filter:   Alert me  

@SpringBean instead @Resource

by Dmitry Rzhevskiy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Why wicket framework used it's own annotation @SpringBean instead standard
annotation @Resource?
(I want configure other web framework to use anotation for bean injecting)

Dmitry.

Re: @SpringBean instead @Resource

by igor.vaynberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

because when we created @SpringBean there was no standard @Resource.
also, afaik, @Resource is part of jdk6 while Wicket requires 1.4/5.

perhaps when we require jdk6 we can use @Resource

-igor

On Mon, Jul 7, 2008 at 11:32 AM, Dima Rzhevskiy <dima@...> wrote:
> Why wicket framework used it's own annotation @SpringBean instead standard
> annotation @Resource?
> (I want configure other web framework to use anotation for bean injecting)
>
> Dmitry.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: @SpringBean instead @Resource

by Dmitry Rzhevskiy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for answer.

2008/7/7, Igor Vaynberg <igor.vaynberg@...>:

>
> because when we created @SpringBean there was no standard @Resource.
> also, afaik, @Resource is part of jdk6 while Wicket requires 1.4/5.
>
> perhaps when we require jdk6 we can use @Resource
>
> -igor
>
>
> On Mon, Jul 7, 2008 at 11:32 AM, Dima Rzhevskiy <dima@...>
> wrote:
> > Why wicket framework used it's own annotation @SpringBean instead
> standard
> > annotation @Resource?
> > (I want configure other web framework to use anotation for bean
> injecting)
> >
> > Dmitry.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

Re: @SpringBean instead @Resource

by Eelco Hillenius :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dmitry, it would probably be fairly easy to build your own support for
this. Just look at how wicket-spring-annot is done, and translate that
to support @Resource.

Eelco

On Mon, Jul 7, 2008 at 11:38 AM, Igor Vaynberg <igor.vaynberg@...> wrote:

> because when we created @SpringBean there was no standard @Resource.
> also, afaik, @Resource is part of jdk6 while Wicket requires 1.4/5.
>
> perhaps when we require jdk6 we can use @Resource
>
> -igor
>
> On Mon, Jul 7, 2008 at 11:32 AM, Dima Rzhevskiy <dima@...> wrote:
>> Why wicket framework used it's own annotation @SpringBean instead standard
>> annotation @Resource?
>> (I want configure other web framework to use anotation for bean injecting)
>>
>> Dmitry.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...