Book Review - Quartz Job Scheduling Framework by Chuck Cavaness
Category Book Reviews
One of the things I appreciate about working with Notes/Domino is the ability to schedule agents to run on certain events or on a schedule. But I always wondered how I might accomplish the same thing if I had stand-alone Java applications? This appears to be the answer... Quartz Job Scheduling Framework - Building Open Source Enterprise Applications by Chuck Cavaness.
Contents: Scheduling In The Enterprise; Getting Started With Quartz; Hello, Quartz; Scheduling Jobs; Cron Triggers And More; JobStores and Persistence; Implementing Quartz Listeners; Using Quartz Plug-Ins; Using Quartz Remotely; Using Quartz With J2EE; Clustering Quartz; Quartz Cookbook; Quartz And Web Applications; Using Quartz With Workflow; Quartz Configuration Reference; Index
Quartz is an open source Java-based scheduling package and API that allows you to build programs that control other programs and events. For instance, let's say you have a Java program that reads a directory, parses any XML files in that directory into some format, and then writes the results to another directory. You could have someone do that manually every couple of hours, but that's a waste of time. Quartz allows you to write the program such that it will run automatically on schedule, freeing you from manual intervention. It uses both event triggers and cron-style scheduling commands that allow you to get very creative in your requirements. The best thing is, it's an open source project that has wide support in the industry and an established foundation of experience to draw upon. Cavaness does an excellent job in leading the reader through the concepts of job scheduling, through basic Quartz jobs, and finally into a full understanding of what Quartz can accomplish.
This is the type of gem that makes book reviewing important to me. I had no concept of this particular type of program, and now I have an entire new set of ideas to draw from. While I don't have a particular need for this immediately, I'll be keeping this book around because I can see it filling a definite need without too much effort. A very nice read...
One of the things I appreciate about working with Notes/Domino is the ability to schedule agents to run on certain events or on a schedule. But I always wondered how I might accomplish the same thing if I had stand-alone Java applications? This appears to be the answer... Quartz Job Scheduling Framework - Building Open Source Enterprise Applications by Chuck Cavaness.
Contents: Scheduling In The Enterprise; Getting Started With Quartz; Hello, Quartz; Scheduling Jobs; Cron Triggers And More; JobStores and Persistence; Implementing Quartz Listeners; Using Quartz Plug-Ins; Using Quartz Remotely; Using Quartz With J2EE; Clustering Quartz; Quartz Cookbook; Quartz And Web Applications; Using Quartz With Workflow; Quartz Configuration Reference; Index
Quartz is an open source Java-based scheduling package and API that allows you to build programs that control other programs and events. For instance, let's say you have a Java program that reads a directory, parses any XML files in that directory into some format, and then writes the results to another directory. You could have someone do that manually every couple of hours, but that's a waste of time. Quartz allows you to write the program such that it will run automatically on schedule, freeing you from manual intervention. It uses both event triggers and cron-style scheduling commands that allow you to get very creative in your requirements. The best thing is, it's an open source project that has wide support in the industry and an established foundation of experience to draw upon. Cavaness does an excellent job in leading the reader through the concepts of job scheduling, through basic Quartz jobs, and finally into a full understanding of what Quartz can accomplish.
This is the type of gem that makes book reviewing important to me. I had no concept of this particular type of program, and now I have an entire new set of ideas to draw from. While I don't have a particular need for this immediately, I'll be keeping this book around because I can see it filling a definite need without too much effort. A very nice read...



Comments
Thanks for the kind words,
chuck cavaness
Posted by Chuck Cavaness At 07:36:32 On 05/09/2006 | - Website - |
I am the reader of your book, and it seems there is a issue when register multiple triggers to one job sample in your book, it throw org.quartz.ObjectAlreadyExistsException.
if i change the method to register the trigger2 by:
trigger2.setJobName("jobname");
trigger2.setJobGroup("jobgroup");
scheduler.schedule(trigger2);
it works.
what is the problems?
thanks
Posted by congzb At 01:14:02 On 22/12/2009 | - Website - |