Skip to main content

Home/ CDI Tech Hub/ Contents contributed and discussions participated by Dan Allen

Contents contributed and discussions participated by Dan Allen

Dan Allen

Weld, CDI and Proxies - 2 views

  •  
    Begins by laying out the differences in the dependency injection strategy between Seam 2 and CDI. Then explains how proxies work in CDI and how to leverage a non-portable Weld feature to optimize the behavior of the proxy.
Dan Allen

CDI @Produces for container-managed @Resource - 2 views

  •  
    A concise look at how to a CDI producer field can be used to promote a container-managed resource as a first-class managed bean.
Dan Allen

CDI Events - a light-weight producer/consumer in Java EE 6 - 0 views

  •  
    This tip of the day briefly describes the event mechanism in CDI. A basic event/observer is shown, then several qualified events with matching observers.
Dan Allen

Enterprise JavaBeans 3.1 with Contexts and Dependency Injection: The Perfect Synergy - 2 views

  •  
    This article highlights why the EJB 3.1 and CDI programming models form an ideal pairing for creating lightweight enterprise applications. The individual feature sets of both specifications are clearly presented. The article goes on to show how these feature sets complement one another, filling in gaps that the other doesn't address. Simple companion source code is provided.
1 - 4 of 4
Showing 20 items per page