I have two questions. Can we write jobs in
EJB? I mean the one like cron jobs in Unix.If so, how? I'm using web logic as application server.
Second question is: I've a job that runs every 5 seconds. It's written as a EJB. And it's available in a clustered environment.
I would like to know how can we avoid running the same job on multiple servers in a clustered environment? I mean, if job is running on one server, it should not run on other servers in a clustered environment.