java - Listening for changes in a MySQL Database that is accessed from a PHP web service -
Like my view is: I have a database that allows me to use JSON-RPC 2.0 Protocol I show the data of those tables on the desktop app, which is coded in Java, it's like an admin tool that is used to make changes (and even there is also an Android app that has this data Uses) to check for changes regularly And they need to show the user's Antim_apdet columns in tables. Data is stored on an array in the application
How do I get a check for the last time?
The simplest is to request a PHP service over your last reading time. You can then query for the last request for any TUP (entity) over the last_decimal time. For this, both applications need to make a request for changes (probably once per second) at intervals.
On the other hand, a long-running PHP or C ++ task is to create a database that will continuously inquire the database and push the data out to support this through web-sockets. It can be difficult and you take part in problems quickly keeping "data in sync" so that you can send a lot more data than the end data. If
** Please advise whether this answers your question, or if you need additional details.
Comments
Post a Comment