Which of the following call back method belongs to Entity bean?
-
void setContext()
-
void ejbLoad()
-
void ejbDelete()
-
void ejbEvict()
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.