EJB Interview Questions and Answers

Ques. Difference Between ejbStore() and ejbLoad()?

Ans. Both of these methods are used in context of entity bean for the purpose of synchronizing the instance variable to corresponding value store in the database. ejbLoad method load or refresh the instance variable from the database and ejbStore method writes variables value back to the database.