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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -