I need a suggestion on the following: I am currently working on a design to implement a java application that would continuously poll an oracle table for new records. For each new record a request should be initiated that will process this record. The request will basically be handled as HTTP.
Now I do not want the poller program to stop, and if it does then a backup mechanism should be in place to trigger this program.
You can also run the application as a single poll, then use your OS' scheduler to make a repeating task to run the application. There are a handful of benefits to this: 1) Your app doesn't eat any resources when not working. 2) If your app does fail for some reason, you have lost only one poll, not all future polls. 3) You can accomplish fairly complex scheduling without having to write it yourself or find a package that does it for you.