I have several users who are simultaneously registered in my working application. They work on one table (create, read, update, delete data), so I have to update their views to reflect the changes every few seconds - at present I am thinking of using a different thread for this.
I am using the MySQL database engine.
Is there a way to use JDBC to listen for changes in a specific table in the database and run the Java method only when changes are made?
source
share