Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

How to call the quartz scheduler in the web app

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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: 43011
76
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!