By mitchp
via blogs.sun.com
Published: Oct 19 2010 / 07:15
Contexts & Dependency Injection (JSR 299) defines a standards-based type-safe Dependency Injection mechanism in the Java EE 6 platform. The type-safety comes from the fact that no String-based identifiers are used to identify the dependencies and instead all the information is specified using the Java object model. The loose coupling is possible because the bean requesting injection need not be aware of the lifecycle, concrete implementation, threading model and similar details of the injected bean. The CDI runtime automatically figures out the right bean in the right scope and context and then injects it correctly for the requestor.
Comments
alarmnummer replied ago:
Smells like a polished turd.
Voters For This Link (10)
Voters Against This Link (2)