Offered By: IBM
Managing and injecting dependencies into Java microservices using Contexts and Dependency Injection (CDI)
Learn how to use Contexts and Dependency Injection (CDI) to manage scopes and inject dependencies into microservices.
Continue readingGuided Project
Open Liberty
57 EnrolledAt a Glance
Learn how to use Contexts and Dependency Injection (CDI) to manage scopes and inject dependencies into microservices.
Contexts and Dependency Injection (CDI) defines a rich set of complementary services that improve the application structure. The most fundamental services that are provided by CDI are contexts that bind the lifecycle of stateful components to well-defined contexts, and dependency injection that is the ability to inject components into an application in a typesafe way. With CDI, the container does all the daunting work of instantiating dependencies, and controlling exactly when and how these components are instantiated and destroyed.
Created by
Estimated Effort
1 Hour
Level
Intermediate
Skills You Will Learn
Java
Language
English
Course Code
GPXX0G3KEN