I am building a relatively complex app for a company that keeps track of several objects and triggers events according to the object’s age or preset dates contained in it.
For example:
Object object_A contains a “renewal date”. When the renewal date and the system date coincide, the application needs to run a particular routine.
My question is: Since there will be thousands of such objects, what is the most efficient way of keeping track of all of them and triggering the respective routines at the respective dates and times?
Worth mentioning that I’ve used Calendar objects for describing these dates (though they can easily be converted into Date objects, so that’s not entirely relevant).
I’d appreciate any pointing into the right direction…
Quartz is an excellent library for robust/complex task scheduling.