My assignment also has a requirement to periodically execute a query in a web service and I believe in JEE I have only 2 options: the old EJB Timer known or use the new Auto Scheduling JEE 6. My doubts about this risk of a failure of communication in this process. What to do to work around a flaw in this process when the service is out? Sugestions?
There are other choices. You could use a cron job. Or a third party product. Or something provided from the app server. Or the Java (no JEE) Timer. I'm not saying these are all good choices, but they are options.
What are some choices for what to do when the system is out. Research this a little and brainstorm a little. There are multiple options.
I forgot to mention that my assignment explicitly mentioned that the architecture must be based on the JEE Platform ... So I believe cron jobs is out, and JSE Timer is not allowed inside the EJB container ....
So I told these only 2 options ... old and new EJB Timer Auto Scheduling JEE 6.