Is it possible to use Timers in java? -
iwant built server continuously keeps on checking database updates available notify every 5 minutes. possible use timer checking database in java v can in dot net. if has idea implement please share me.
thanks in advance.
yes sure possible. hope asking scheduling jobs
timer timer = new timer(); timer.schedule(new yourtask(), seconds * 1000);
take @ quartz scheduler more sophisticated approach.
Comments
Post a Comment