in Java EE 7 / Java EE 6 Web Profile
This Java EE 7 demo web application compares the five standards for Dependency Injection available on the platform. For each module, basic information about the standard is provided; there are tests for JavaBean lookups; and there are tests for injecting each JavaBean type in any other JavaBean type.
Read the accompanying blog post » Get the source code and run it on your OWN server »
View the output of the demo application running on GlassFish:
View the output of the demo application running on Payara:
View the demo application running on WildFly, hosted by OpenShift: