In association with heise online

01 April 2011, 16:40

Quartz Scheduler updated to version 2.0

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Quartz logo Version 2.0 of the Java-based open source Quartz enterprise job scheduler has been released by the developers at Terracotta. Quartz allows developers to add time-based job control and execution to their application and is suitable for small applications or large enterprise systems.

A major enhancement of Quartz 2.0 is the new simplified "fluent" configuration API that is easier to work with as it allows method calls to be chained together. For example, creating a Trigger is now coded as:

    Trigger trigger = newTrigger()
.withIdentity("trigger1", "group1")
.startAt(futureDate(2, IntervalUnit.HOURS))
.withSchedule(repeatHourlyForever())
.modifiedByCalendar("holidays")
.build();

The chaining reduces the amount of duplication in the code. The API has also been modernised to use collections and generics, ambiguities and redundancies have been removed, and methods that should not be public are now hidden. The API changes are described as significant and a migration guide is available. An overview of the changes is included in "What's new in Quartz Scheduler 2.0".

Terracotta have also released two commercial enterprise products based around Quartz. Quartz Manager is a real-time monitoring and management system for multiple Quartz instances with a GUI for easier control. Quartz Where is a variant of Quartz for controlling multiple Quartz instances on different machines, allowing jobs to be sent to machines based on machine name or resources. Trials of both products are available.

Quartz itself is available as open source under the Apache 2.0 licence and is available for download from the project's site.

See also:

(djwm)

Print Version | Send by email | Permalink: http://h-online.com/-1220520
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit