This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.