users@glassfish.java.net

How ? Timer Service

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Sep 2008 02:40:06 PDT

I want to use Timer Service which expires every 5 mins.
What is the efficient and reliable way of knowing if "last execution" was completed?

I really cannot afford to invoke calls to EJBs if my last call (which can be sometimes more than 5 mins) is not finished.

At every time-out, first I want to check if the last execution is completed.

Please help.

Thanks and Best Regards
Suyog Barve
[Message sent by forum member 'suyogbarve' (suyogbarve)]

http://forums.java.net/jive/thread.jspa?messageID=297761