Multiple choice technology web technology

How are life cycle methods called?

  1. By thin clients.

  2. By calls to the database.

  3. By the J2EE server.

  4. By the bean's container.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Lifecycle methods of Enterprise JavaBeans (EJBs) are managed and invoked automatically by the EJB container at specific stages of the bean's existence. They are not called directly by database queries, thin clients, or the general J2EE application server itself.