Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CDI - short for Contexts and Dependency Injection - is the new standard for Java EE (though not limited to isit) dependency injection frameworks. It was introduced as JSR 299, being a part of the Java EE 6 umbrella specification. It is also important to note that it builds on top of JSR 330 (Dependency Injection for Java SE), often referenced as @Inject.

...

Not much to see here. The CDI specification requires the CDI container to be exposed via JNDI context, and the CDI plugin will pick it up just there. Nevertheless, since there are different JNDI namespaces in use, the plugin will try to automatically find the right one among known references, that is

...