How to set the time for an automated process
1 posts in topic
Flat View  Flat View

Posted By:   Ajit_Jagdale
Posted On:   Thursday, February 7, 2002 03:28 PM

What's the best way to automate processes with EJBs? Sorry for the simple question.

Basically, There is a process that I'd love to run at midnight every night. Let's say that at midnight every night I want the EJB to print "Hello World" to the console.

Would I use a stateless session bean for this? What would the code in the bean look like?

thanks, Ajit

Re: How to set the time for an automated process

Posted By:   Bozidar_Dangubic  
Posted On:   Friday, February 8, 2002 09:48 AM

you need to create (buy or use someone else's) scheduling component. I believe that there is JCron which should be a J2EE scheduling component you can use. Check the web and see what is available out there or build on yourself.
About | Sitemap | Contact