Merrill , Thanks for your suggestions and because of that things are moving pretty quite smoothly. Also the DTD which you had provided for the struts-config was really easy to learn. I dont know whether my question really fits in Struts or Any Web Architecture but still wanted help on this.
This time the project requirements demand that we make a Scheduler which automatically performs some operations for example sending an email to the customer after the order has been fulfilled. I know this is easily achievable using Windows Scheduled Tasks. But the requirement specification is that they want a Shell Script doing this. Also for this Unix Cron Jobs are useful. just wanted to know how or what command shall we write in that shell script which would call our java Program which fires the Mail. P.S : We are using JavaMail API for this.
Please help me with this.
Thanks in Advance and regards ,
Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
If you're using a J2EE Version 1.4 compliant application server, you could use the timer service defined in the specification. Essentially this involves writing a stateless session EJB and registering one of its methods with the timer service to fire at given times or intervals.