Is it possible with LCDS to have the Data Management Service
detect database changes ? We already have LCDS configured with a
custom Java assembler. Any change commited on a client reflects to
other clients and in the database too. But we also have some
backend processes changing the database. In that case, is it
possible to configure LCDS to detect those changes to the database
and push them to the clients ?
There's a way for LCDS to monitor a database, but it requires
polling in your server side code. In your custom assembler, spin a
thread to poll the database with DataServiceTransaction.refreshFill
function. It's not going to give you realtime update, but it's more
scalable then polling from the clients.