Most enterprise Java applications use external resources and services such as Data Source, EJB, or web services. EJB 3 makes using resources and services simpler by implementing dependency injection. DZone, Inc. today announced the latest in the Refcardz series, Dependency Injection in EJB 3.
Written by Debu Panda, Senior Principal Product Manager of the System Management Products team at Oracle, Dependency Injection in EJB 3 lists all metadata annotations, describes them and provides examples. It also provides descriptions for XML elements that you can use for injection.
Features include Resource Injection, Injection of EJB References, Injecting JPA Resources, Using Spring with EJB 3, Hot Tips and more.