Scheduled Task in J2EE

I

Ian Walsh

Hi,

I'm involved in a Java development project, and have to write an
application that runs every night. The infrastructure is Websphere
Server on a Regatta box.

If I was doing this in Windows using .Net I'd write a Windows Service.
What are the options in J2EE?

Any help appreciated. Thanks.
 
N

Nathan Zumwalt

I'm not sure what a Regatta box is, but if it runs a Unix derivative,
you can create a cron job that makes a call to your Websphere app
server (EJB, webservices, etc) nightly.

Or, you could create a startup class that creates a thread that wakes
up every night.

Personally, I'd go for the cron job.

//Nathan
 
I

Ian Walsh

Thanks Nathan.

Are there any alternatives? I know Websphere Server has some sort of
schedule API. Has anyone used this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top