JSR-330 dependency injection can be applied to both Java SE and Java EE environments, while JSR-299 is titled "Contexts and Dependency Injection for the Java EE platform".
Except strictly Java EE-oriented features, what CDI features make sense on Java SE as well? Any examples available? Thanks!
[Revised] Here's Weld on JSE.
see openwebbeans.apache.org
Well, the one mentioned in the Weld documentation:
This obviously makes sense in a Java SE context.