Is there a way in which I can call a servlet program when an update occurs to the database or at a specific time or when a sql trigger occurs. Any library or reference would be useful. Thanks in advance
-
Please tag the RDBMS which you are using, as the answer may likely be sql platform-dependent.StuartLC– StuartLC2014-05-07 06:10:09 +00:00Commented May 7, 2014 at 6:10
-
What exactly do you want to achieve? Describe complete use case. For example I can understand that PL/SQL will initiate HTTP request under certain condition you described.Leos Literak– Leos Literak2014-05-07 07:31:43 +00:00Commented May 7, 2014 at 7:31
-
Let me explain, let's say I have a relation in which I have some dates and corresponding descriptions. Now all I want to do is communicate to some people about the description as the date is approaching (say 7 days earlier)nj-ath– nj-ath2014-05-07 10:38:39 +00:00Commented May 7, 2014 at 10:38
-
How do you think that it will work? Servlet accepts connection from a browser, it does some job and returns data back. If you pass information from the timer or other asynchronous task, there is no HTTP request waiting.Leos Literak– Leos Literak2014-05-07 11:36:52 +00:00Commented May 7, 2014 at 11:36
Add a comment
|