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:
-
Scheduling principals in Java applications (4 messages)
- Posted by: Fabrizio Chami
- Posted on: December 19 2010 14:36 EST
Threaded Messages (4)
- Please fix title by Ian Smith on December 20 2010 12:01 EST
- Please fix title by James House on December 20 2010 14:57 EST
- Odd title by P P on December 20 2010 16:53 EST
- Scheduling principals in Java applications by Philippe Mouawad on December 21 2010 14:56 EST
-
Please fix title[ Go to top ]
- Posted by: Ian Smith
- Posted on: December 20 2010 12:01 EST
- in response to Fabrizio Chami
I don't think it means what you think it means.
Ian
-
Please fix title[ Go to top ]
- Posted by: James House
- Posted on: December 20 2010 14:57 EST
- in response to Ian Smith
No kidding. I don't even know where to start on this one.
-
Odd title[ Go to top ]
- Posted by: P P
- Posted on: December 20 2010 16:53 EST
- in response to Fabrizio Chami
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...
-
Scheduling principals in Java applications[ Go to top ]
- Posted by: Philippe Mouawad
- Posted on: December 21 2010 14:56 EST
- in response to Fabrizio Chami
Our in-house Java scheduler answers to many of these needs.
For more details, see :
- http://www.ubik-ingenierie.com/-Solutions-
- http://www.ubik-ingenierie.com/ubikwiki/index.php?title=Ubik_Batch_Server_Features