@Autowired vs @Inject

Is there any drawback to use JSR-330 @Inject as opposed to Spring specific @Autowired dependency injection annotation with jmix?
I have noticed that jmix examples are using @Autowired predominantly.


There should be no problem with @Inject, but we recommend using @Autowired in new code as more idiomatic in Spring apps. Additionally, it provides the required = false option which allows injecting optional dependencies.