Results 1 to 5 of 5

Thread: runtime jobs using quartz without using application context?

  1. #1
    Join Date
    Apr 2005
    Posts
    11

    Default runtime jobs using quartz without using application context?

    Can someone please suggest a way to schedule run-time Jobs (with data) using Quartz? I've seen posts that use applicationContext, but is there any other way?

  2. #2
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    Just use the standard Quartz API.

    Rob
    Rob Harrop
    Lead Engineer, dm Server
    SpringSource
    http://www.springsource.com

    Co-Author - Pro Spring

  3. #3
    Join Date
    Apr 2005
    Posts
    11

    Default

    Are you suggesting me to use Quartz API and do not use SpringFramework? Which means that we cannot have run-time jobs using spring (and without using applicationContext).
    Thanks Rob for the prompt reply.

  4. #4
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    Spring's Quartz support is intended for jobs that are scheduled when the application starts. Although you may find some of the classes useful for constructing Quartz API objects, dynamic runtime scheduling will have to be done via interaction with the Quartz Scheduler. You can use the Spring SchedulerFactoryBean to create a Scheduler for you which you can then inject into your objects for access at runtime.

    Rob
    Rob Harrop
    Lead Engineer, dm Server
    SpringSource
    http://www.springsource.com

    Co-Author - Pro Spring

  5. #5
    Join Date
    May 2011
    Posts
    4

    Default spring quartz support for runtime jobs

    I have following requirement in my project for supporting scheduler.

    Run time scheduler should allow user to schedule a new job, edit(update/delete) existing job.
    should be able to run 3000-4000 jobs simultaneously.

    Questions:
    1. I may have to use quartz JDBCJobStore to persist the schedule jobs in database. How spring will support that? Can you provide me any example that uses persistence in sprint quartz?

    2. What is the difference between spring quartz vs quartz api?

    3. Our application is using Hibernate. Does JDBCJobStore requires to create pojos for quartz tables?

    4. can spring quartz uses separate persistence and transaction api along with our existing hibernate connection pooling? Any examples?

    5. Do we have any user/application/website who is using spring quartz api?

Similar Threads

  1. Runtime Quartz jobs and ApplicationContext
    By vmarcinko in forum Container
    Replies: 7
    Last Post: Feb 5th, 2008, 11:21 PM
  2. Replies: 5
    Last Post: Sep 23rd, 2005, 04:28 AM
  3. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM
  4. Questioning the core component
    By Martin Kersten in forum Swing
    Replies: 6
    Last Post: Feb 21st, 2005, 03:45 AM
  5. Scheduling Quartz jobs and Application Context
    By fmourioux in forum Container
    Replies: 5
    Last Post: Aug 27th, 2004, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •