What is CDI?
It is a standard dependency injection framework included in Java EE 6 and higher. It allows us to manage the lifecycle of stateful components via domain-specific lifecycle contexts and inject components (services) into client objects in a type-safe way.
CDI is a tool in the Java Tools category of a tech stack.
Who uses CDI?
Companies
Developers
28 developers on StackShare have stated that they use CDI.
CDI's Features
- Part of the Java EE 6 platform
- Defines a powerful set of complementary services
CDI Alternatives & Comparisons
What are some alternatives to CDI?
Marvel
A super simple tool that turns any image (including PSDs) or sketch into interactive prototypes for any device.
Powered by Dropbox.
Spring
A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
guava
The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.
Java 8
It is a revolutionary release of the world’s no 1 development platform. It includes a huge upgrade to the Java programming model and a coordinated evolution of the JVM, Java language, and libraries. Java 8 includes features for productivity, ease of use, improved polyglot programming, security and improved performance.
RxJava
A library for composing asynchronous and event-based programs by using observable sequences for the Java VM.
Related Comparisons