A bean is a source of contextual objects which define application state and/or logic. These objects
are called contextual instances of the bean. The container creates and destroys these instances and
associates them with the appropriate context. Contextual instances of a bean may be injected into
other objects (including other bean instances) that execute in the same context. A bean may bear
metadata defining its lifecycle and interactions with other beans.
A bean comprises the following attributes:
• A (nonempty) set of bean types
• A (nonempty) set of qualifiers
• A scope
• Optionally, a bean name
• A set of interceptor bindings
• A bean implementation
https://jakarta.ee/specifications/cdi/3.0/ https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0.pdf
A bean is a source of contextual objects which define application state and/or logic. These objects are called contextual instances of the bean. The container creates and destroys these instances and associates them with the appropriate context. Contextual instances of a bean may be injected into other objects (including other bean instances) that execute in the same context. A bean may bear metadata defining its lifecycle and interactions with other beans. A bean comprises the following attributes: • A (nonempty) set of bean types • A (nonempty) set of qualifiers • A scope • Optionally, a bean name • A set of interceptor bindings • A bean implementation