From the course: Quarkus Essential Training

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Introduction to ArC

Introduction to ArC

- [Instructor] Dependency injection is a critical aspect of most frameworks, and Quarkus accomplishes injection via ArC. ArC and CDI, or Context and Dependency Injection, are how Quarkus implements dependency injection across the framework. ArC is the container for CDI. It is an implementation and the execution container. ArC is bootstrapped at runtime. This has benefits in execution and startup time, as well as memory but it does have some negative implications as well. The biggest one of those is that CDI portable extensions are not directly supported by ArC, but as with any Java construct in Quarkus, you can wire it to the application context via Beans and inject it into the runtime classes. It is useful in any framework to understand how the framework itself works. And for Quarkus, this starts with the phases of the ArC. The first phase is initialization. In this phase, much of the preparatory work by the framework…

Contents