Your SlideShare is downloading. ×
0
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Utilize Quartz to Implement Scheduling Service
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Utilize Quartz to Implement Scheduling Service

1,657

Published on

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,657
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
75
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Utilize Quartz to Implement Scheduling Service Albert Guo [email_address]
  • 2. Agenda <ul><li>Scenario </li></ul><ul><li>Quartz </li></ul><ul><li>Implementation Process </li></ul><ul><ul><li>define job class </li></ul></ul><ul><ul><li>define scheduler </li></ul></ul><ul><ul><ul><li>create a simple, RAM-based scheduler </li></ul></ul></ul><ul><ul><ul><li>create a job which is schedule to run at specific time every day </li></ul></ul></ul><ul><ul><ul><li>register job to scheduler </li></ul></ul></ul><ul><ul><ul><li>The scheduler is then started </li></ul></ul></ul>
  • 3. Scenario Resume Repository Transfer resume to HTC once a day Retrieve resume from resume repository once a day Recruiting System
  • 4. Quartz <ul><li>What is Quartz </li></ul><ul><ul><li>Quartz is a full-featured, open source job scheduling system that can be integrated with, or used along side virtually any J2EE or J2SE application - from the smallest stand-alone application to the largest e-commerce system. </li></ul></ul><ul><ul><li>Quartz can be used to create simple or complex schedules for executing tens, hundreds, or even tens-of-thousands of jobs; jobs whose tasks are defined as standard Java components or EJBs. </li></ul></ul><ul><ul><li>The Quartz Scheduler includes many enterprise-class features, such as JTA transactions and clustering. </li></ul></ul><ul><ul><li>http://www.opensymphony.com/quartz/ </li></ul></ul>
  • 5. Implementation Process
  • 6. Job & Scheduler Class Define your job in this class Define your scheduling service in this servlet class
  • 7. Job Class Define job execution stuff into execute method
  • 8. Scheduler
  • 9. Define Schedule Servlet in web.xml
  • 10. Check Console

×