CDI Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:


The bean maintain shared state for the entire lifecycle of the application.
The bean maintain shared state for the entire lifecycle of the application.
{{Internal|@javax.enterprise.context.ApplicationScoped|@ApplicationScoped}}


==Dependent==
==Dependent==

Revision as of 15:15, 2 May 2017

Internal

beans.xml

beans.xml

Bean Scope

Request

Session

Application

The bean maintain shared state for the entire lifecycle of the application.

@ApplicationScoped

Dependent

The object exists to serve exactly one client (bean) and has the same lifecycle as the client.

Conversation