1 | ejbLoad() method is invoked by the container before the first business call within a transaction to make sure that the instance will be in correct state. |
2 | ejbStore() method is used to synchronize the state of an entity with the database and in general this invocation occurs at the end of transactions. |
3 | The container can also use this method to make sure that the state is saved before the passivation of the entity or transfer this state to another instance via the database ( can occur for the distributed transaction in a multi-process server). |