users@glassfish.java.net

Re: Want to schedule task for every night at 8pm, using Java,Servlet,JSP

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jan 2008 09:55:16 PST

The features I mentioned are not available in the current release. You can use a third-party scheduler/work management API such as quartz. You can also use the existing EJB 3.0 timer functionality, but it's fairly cumbersome for your use-case. You would need to define a stateless session bean that exposes a business method that creates the timer. Then you'd need to call that business method from a web application initialization callback.
[Message sent by forum member 'ksak' (ksak)]

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