I am currently facing some real tough time. We are having CMP - CMR based Entity Beans. The underlying data base is also created/updated through third party tools (XML upload). We are facing problem of consistency of data. We require some mechanism to make instances of entity bean invalidated at the time of batch updates.
Is there any mechanism of notifying Container to invalidate instances of entity bean.
Or is there any mechanism of having notifying entity bean which is getting notified that they are updated and fire ejbLoad()
with cmp, the container does the synchronization with the database before a methode in a bean instance is executed. After the synchronization it calls ejbLoad().
So you dont have to care about consistency.