I have a web application running in jboss.
I can upload files through my web application, and they are saved at server(Stored in the file system).
I need to delete the files of age 4 days(every day i need remove files uploaded 4 days before).
What the best way to start without much burden on my web application?
Threads running all the time seems to be costlier for me