Spring / Spring Interview questions II
Difference between @Inject and @Autowired in Spring Framework.
@Inject is part of the Java CDI (Contexts and Dependency Injection) standard introduced in Java EE 6.
@Autowired is Spring's own annotation. @Inject is part of CDI that defines a standard for dependency injection similar to Spring.
In any Spring application, the two annotations works the same way as Spring extends its support to CDI.
More Related questions...