TwelveEighty wrote:
> On Dec 27, 11:23 am, Mikhail Teterin <usenet+m...@aldan.algebra.com>
> wrote:
>> One could implement such a function, which will be called from the trigger
>> and notify the client program somehow -- "out of band".
>>
>> That's Arne's idea, and it is doable.
>>
>> However, I was hoping, something more uniform is already available, but that
>> does not seem to be the case
>
> I would solve this a little further upstream, if possible. What, for
> example, causes the table to change? Is there someone or something
> that creates a transaction that enters data? Could your program become
> the "business logic" layer that sits in between that and the database?
Isn't this the sort of thing they invented BPEL for?
The insight is that business processes interlock and interact. A process
control system, perhaps with a process control language like BPEL gluing
things together, orchestrates the various business processes that must
coordinate, as in this case, a web application and a database application.
Custom programming can do the same thing. I suspect that thinking of the
custom system as a business-process orchestrator would be useful.
This is a problem space that has been approached for decades, and for which
there are many buzzwords, none of which seem to have emerged as a clear winner.
--
Lew
>> Stay informed about: jdbc: Asking the DB-server for a notification