• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to call the quartz scheduler in the web app

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying the example http://www.roseindia.net/quartz/quartz-scheduler-tutorial.shtml

If I deploy both in my web application in forlder src->com.xp.ct.schedule , How can I run the scheduler.
I tried the XML method but its not working


Dos anyone have any examples ?
has anyone implemented qurtz in a web app?
 
Ranch Hand
Posts: 180
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i dont about how to call quartz scheduler,but definitely if you see a java process then it can be called from
a web app
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sahana Hegde wrote:I am trying the example http://www.roseindia.net/quartz/quartz-scheduler-tutorial.shtml



I don't believe in RoseIndia site, Look at this blog entry here.

And to get start with Quartz, I think you need some basic example about How Quartz program build..

Have look at this resource

One you get basic code running, call that code in a Servlet..
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please note that ItDoesntWorkIsUseless; you need to TellTheDetails. Where did you put the XML file? Did you get a desktop application to work with an XML file?
 
Sahana Hegde
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply.

I found this example for quartz plugins in onjava.

But I found another example in the links you guys posted. I was using it incorrectly.
http://www.opensymphony.com/quartz/wikidocs/JobInitPlugin.html

Has anyone used quartz plugins?. Is it better to use plugins or write a servlet or a listener.

Thanks

 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sahana Hegde wrote:Thanks for the reply.

I found this example for quartz plugins in onjava.

But I found another example in the links you guys posted. I was using it incorrectly.
http://www.opensymphony.com/quartz/wikidocs/JobInitPlugin.html

Has anyone used quartz plugins?. Is it better to use plugins or write a servlet or a listener.

Thanks



Quartz plugin is a one way to assign a Job to Scheduler at the time of creating it. Its depends upon your need. The choice of instantiating the Scheduler at Context initialization or a Servlet calls depends upon the application need.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic