Home » Interview Questions » EJB Interview Questions » What are the implicit services provide by an EJB container?
 

What are the implicit services provide by an EJB container?

Lifecycle Management: Individual enterprise beans do not need to explicitly manage process allocation,
thread management, object activation, or object destruction. The EJB container automatically manages the
object lifecycle on behalf of the enterprise bean.

State Management: Individual enterprise beans do not need to explicitly save or restore conversational
object state between method calls. The EJB container automatically manages object state on behalf of the
enterprise bean.

Security: Individual enterprise beans do not need to explicitly authenticate users or check authorisation
levels. The EJB container automatically performs all security checking on behalf of the enterprise bean.

Transactions: Individual enterprise beans do not need to explicitly specify transaction demarcation code to
participate in distributed transactions. The EJB container can automatically manage the start, enrolment,
commitment, and rollback of transactions on behalf of the enterprise bean.

Persistence: Individual enterprise beans do not need to explicitly retrieve or store persistent object data from
a database. The EJB container can automatically manage persistent data on behalf of the enterprise bean.



Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code: