Hi,
My application need to read file from ftp location, as soon as it is put on there. We are using
Tomcat / Spring. I want to know my options..
A) Can I write some trigger/observer sort of which will call my program to read the file - as soon as it comes.
B) Or, I need to write some scheduler, which will keep checking the location on a regular interval, & read/process file in the next schedule check, after the file is placed.
Also for scheduling, which would be better choice - using Concurrent API - OR - some open source scheduler like Cron4j.
Thanks.