Understanding Jakarta EE 8 – C.D.I. Part 3 — Defining Custom CDI Annotations

Custom CDI annotations with Jakarta EE 8[As we continue with this series, we will refer to some content and examples from the CDI 2.x specification].

The CDI specification allows developers the flexibility to create new types that are within the scopes of the bean type declaration.
In this example we will examine and learn how easy it is to create custom CDI annotations for defining: