HI ALL. Could you tell me when are called methods ejbLoad() AND ejStore()? Are they called on/after some events or periodical time? Are they called after every time when I call ejbFindXXXX, ejbCreate()? Could I call these methods in a program code so: tstRemote ejbInst; ................ ejbinst.ejbLoad(); ................ ejbinst.ejbStore(); If I couldn't call ejbinst.ejbStore() then, What do I have to do when I want update underlying database with the current instance of the EJB? It's BMP-EJB. Thank U for answer.
posted 14 years ago
Dajac You do not need to call ejbLoad and ejbStore. The EJB container calls the methods when it deems it appropriate (this may vary between ejb vendors). You just need to create appropriate methods so that when they are called the appropriate action occurs (load or store). Hope that helps Phil