JSR-330 dependency injection can be applied to both Java SE and Java EE environments, while JSR-299 is called "Contexts and Dependency Injections for the Java EE Platform".
Besides strictly Java-oriented EE functions, which CDI functions make sense in Java SE as well? Are there any examples? Thanks!
[After revision] Here is Welding at JSE.
java java-ee dependency-injection cdi jboss-weld
sof
source share