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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -