Forums Register Login

Get Alert From Database

+Pie Number of slices to send: Send
Hi,
I want to get alert or notification in the java application once the database trigger has executed.

Please give me the idea.

Thanks & Regards,
Suresh Kumar.K
+Pie Number of slices to send: Send
This depends highly on what the capabilities of the database are. But calling from a database into a desktop application would be difficult in any case, in addition to being bad design.

How about the desktop app checking the condition in the DB regularly, maybe once per minute?
+Pie Number of slices to send: Send
Ulf Dittmer ,
Currently my desktop application checking the DB every 1 minute once.But I want to change this logic. Because some times the changes in the database will happen two days once.
So I need to identify my java application once the DB gets updated. Any other way is there?

Thanks,
Suresh Kumar.K
+Pie Number of slices to send: Send
As Ulf says, pushing data from a database to client is not really what dtabases are deigned for. You can do it (depending on your database), but before you try, what is wrong with polling the database as you currently are?
permaculture is giving a gift to your future self. After reading this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1446 times.
Similar Threads
Wanted job hunting suggestion
Problem in LWUIT Theme
WA #2 ..... word association
Javascript Variable scope
re:To get alert messages like when we sign in google talk
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 21:34:53.