|
|
|
|
Re: Sending alerts to all application users [message #130102 is a reply to message #130071] |
Thu, 28 July 2005 03:20 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
oraclejo
Messages: 50 Registered: July 2005 Location: Ammar
|
Member |
|
|
hello
Nothing straight forward, however,
Oracle Kernel contains several mechanism to accomplish similar ideas, most of which require elaboration
1- It is easy to send email from within an Oracle Trigger, refer to UTL_TCP, and MAIL packages in Oracle Packages
2- Use Oracle DBMS_PIPE techology, where an form event dispatches a message to a pipe, a client can then retrieve the message by reading the pipe
3- Use Oracle AQ (Adv Queueing) where the client can repsond to an event by enqueing a message to be later Dequeued by the receipient.
4- If you are into JAVA then you can craft RMI (remote method invokation) technique though a database trigger or a stored procedure. A java client can be written to sense the invokation and in turn use JNI to write the Alert, I once did that by creating a small VB form that simulates an MSN Alert (when somebody logs into SMS, you see a small window poping up).
The user then would see such window poping up when a certain condition occurs
5- if you want a table based approach, you might as well incorporate Oracle Workflow engine
hope that gives you an idea what to choose and where to start
Regds
Ammar Sajdi
www.e-ammar.com
|
|
|