He's saying that he prefers @Inject since it's a standard; there are
multiple implementations of the annotation.
Dave
On Wed, Apr 20, 2011 at 9:49 AM, M. Rakowski wrote:
>
>> @Inject is the JSR-330 standard, right?
>
> I meant com.opensymphony.xwork2.inject.Inject.
> But you are right, I should
@Inject is the JSR-330 standard, right?
I meant com.opensymphony.xwork2.inject.Inject.
But you are right, I should try EE6 with Java DI.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands,
@Inject is the JSR-330 standard, right? I prefer that over @Autowired to
remove spring dependency in code; @Autowired was created by Spring and
influenced the JSR, and they did a pretty good at getting DI right for the
rest of us.
On Wed, Apr 20, 2011 at 8:01 AM, Dave Newton wrote:
> If you're u
If you're using Spring as anything other than a DI framework, yes. If not,
depends.
Dave
On Apr 20, 2011 8:55 AM, "M. Rakowski" wrote:
4 matches
Mail list logo