+

Search Tips   |   Advanced Search

Managed beans

Managed beans are container-managed objects with minimal requirements, otherwise known as Plain Old Java Objects (POJO). They support a small set of basic services, such as resource injection, life cycle callbacks, and interceptors. Other, more advanced, aspects are introduced in companion specifications, to keep the basic model as simple and as universally useful as possible.

Managed beans offer a lightweight component model aligned with the rest of the Java EE. By supporting the common resource injection and life cycle services, Managed beans fit into the Java EE programming model. At the same time, the lightweight nature of Managed beans makes them a natural starting point to encapsulate application functionality, with the knowledge that they can be formed into more powerful components. In this sense, Managed beans can be seen as a Java EE platform-enhanced version of the JavaBeans component model found on the Java Platform Standard Edition (Java SE).


Subtopics