Many projects require scheduling functionality, such us scheduled jobs, repeated jobs, asynchronous execution etc. In this short article, the basic principals regarding scheduling are discussed. Check it out at the following URL:
- Posted by: Fabrizio Chami
- Posted on: December 19 2010 14:36 EST
I don't think it means what you think it means.
No kidding. I don't even know where to start on this one.
Yeah, I was a bit thrown by the title as well. Probably just a translation problem.
I agree that JMS is a good alternative to in-process schedulers (like quartz or java's own various Executor implementations), but not for the reasons the author forwards. Scheduling tasks with unpredictable run-time lengths is a general problem, whichever framework you use. And Quartz is definitly "smart" enough to handle long-running tasks and limited pools in a predictable (and configurable) way so that talk about long lived tasks would create "problems" for the "framework" doesn't really make any sense to me.
The main pro for JMS based scheduling is that it creates a foundation for clustered execution (which quartz has as well, to be honest) AND it allows you to build a task-queue that can survive a JVM restart (which, again, Quartz can do as well). The con is that you'll have to implement a lot of the scaffolding and "framework" code yourself so there is a "re-inventing the wheel" issue...
Our in-house Java scheduler answers to many of these needs.
For more details, see :