I dont know if this feature is avaliable in EJB where by when an external database change triggers a call back method on an entity bean, notifying it about the change. Acually, as I am writing this I am quite sure there doesnt exist such a facility.
I have a database that is accessed from the server side java application and the Db can also be accessed directly ( manual CRUD) and I would like that client application to be notified of any changes. Incase of changes through the server side java application I could send out a JMS from entity bean, but if the database is changed manually I have no way of knowing. I dont want to poll the database table for changes and I am also not that keen on triggers, but I am interested in knowing how I can achive this using triggers.
If i'm using entity exclusive mode how can in do that ?
Joined: Mar 03, 2001
I didnt have much time to go through that class, since the external changes to the database will be only during production problems and we can ask the users to explicitly refresh at that time. But you never know these code standards and desing policies change like the weather.