1 | ejbLoad() method invoked by the container to inform the bean instance that it must synchronize its state from the database. This method is only invoked as long as there is an associated EJB Object with this instance. |
2 | If the bean instance using its fields to cache the state of the entity, it should not use this values and loads them from the database. |
3 | ejbStore() method invoked by the container to inform the bean instance that it is time to synchronize its state with database by updating the entity record. |