Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Database callbacks.

Re: Database callbacks.

From: Rich Woods <rawoods_at_concentric.net>
Date: 1997/03/29
Message-ID: <333D34A9.56D5@concentric.net>#1/1

Dan Shechter wrote:
>
> Back at where I work, we have a very strong need for callbacks (notices
> sent to out applications upon insertaion to tables from the server).
>
> Those applications are running om remote systems from the oracle server,
> which implies that some sort of network connection is required.
>
> What we've come up so far, was to use a trigger upon insertation on the
> required tables, which will run a stored procedure, that will use the
> PL/SQL UTL_FILE package which allows to write into operating system
> files (or named pipes for that matter).
>
> Meanwhile, we have a small daemon, trying to read from those files.
>
> When the daemon succeeds in reading, it parses the data read, and
> through TCP/IP inform the interested applications.
>
> Although this should work (OK, we haven't really tried it yet...),
> I was wandering if anybody had ever met the same problem with a better
> solution.
>
> Despratly awaiting.
> Dan.

Dan,

You can use the DBMS ALERTS package to send e-mail too, although this asynchronous approach may not be what you need.

-- 
Rich Woods
Technical Field Support Specialist, Oracle Corporation, USA
The above statements and opinions are my own and do not
necessarily represent those of Oracle Corporation.
Received on Sat Mar 29 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US