It's About Time......

Discussions

Web tier: servlets, JSP, Web frameworks: It's About Time......

  1. It's About Time...... (1 messages)

    I have a general question about timing mechanisms in the J2EE architecture. I am sure people have familiarity, certainly much more than I, with chron jobs in Unix and Scheduled Tasks in Windows and the like where actions are taken at prescribed intervals. Is there a similar paradigm available in J2EE? The only mechanism I know of for summoning action is the request of an HTTPServlet which fires service() (and ultimately doGet()/doPost()). But that of course is not at regular intervals. And as for EJBs, they need a client to act, and that client is often a servlet. Is there a way to, for example, cause a servlet to "fire" every 24 hours? Or is there any other similar timing mechanism in J2EE?

    Thanks.

    Threaded Messages (1)

  2. It's About Time......[ Go to top ]

    http://www.theserverside.com/home/thread.jsp?thread_id=15439