java - Send notification to the client from a web server -


In my setup, there is a weblogic server that runs various restore services that accepts an HTTP request from the customer (an Android app), reads data from a MySQL database, and this data as a client's response Sends.

My requirement is that as soon as the database is updated, the customer should be informed. I have applied a "voting" mechanism, constantly sending requests and inquiries for any changes made to the customer database. Although this is not a very efficient mechanism, can you please suggest any effective way of getting it?

Thanks in advance!

One way to write a cron job for an overview of database changes.

Also, so this topic has already been discussed. Refer to the link given below,



Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -