jabrena / spring-boot-user-beans

A visual way to increase the developer awareness to minimize the number of Beans in memory.
https://jabrena.github.io/spring-boot-user-beans/
Apache License 2.0
52 stars 3 forks source link

Add link about CDI #80

Closed jabrena closed 1 year ago

jabrena commented 1 year ago

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

jabrena commented 1 year ago

https://github.com/jabrena/spring-boot-user-beans/pull/94