CDI Concepts

From NovaOrdis Knowledge Base
Revision as of 15:18, 2 May 2017 by Ovidiu (talk | contribs) (→‎Dependent)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

@Dependent

Conversation