Multiple choice technology architecture

Which of the following call back method belongs to Entity bean?

  1. void setContext()

  2. void ejbLoad()

  3. void ejbDelete()

  4. void ejbEvict()

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

ejbLoad() is a valid callback method in Entity Beans that is invoked by the container to synchronize the bean's state with the underlying database. This method is part of the EJB lifecycle and is called when the container needs to refresh the entity bean's state from persistent storage.