CDI
-
Enterprise Java
Integration testing scoped beans in CDI 1.0 and Spring 3.1
In this blog post I describe how to do integration testing with scoped beans in Spring and CDI. Everything is…
Read More » -
Enterprise Java
Simulating CDI’s Session and Request Scope in a J2SE app
We’re currently considering refactoring the Naked Objects framework to use JSR-330 (dependency injection) and EE-oriented big brother, JSR-299 (CDI). Using…
Read More » -
Enterprise Java
EJB Lookup in a Vaadin Application
It has been a long time since the last Service Locator I have implemented. I thought it wouldn’t be necessary…
Read More » -
Enterprise Java
What Is CDI, How Does It Relate to @EJB And Spring?
A brief overview of dependency injection in Java EE, the difference between @Resource/@EJB and @Inject, and how does that all…
Read More » -
Enterprise Java
Java EE6 CDI, Named Components and Qualifiers
One of the biggest promises java EE6 made, was to ease the use of dependency injection. They did, using CDI.…
Read More »