Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calendar events scheduling in Java

 
Prashant Mathur
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We can create calendars in java but could you tell how to do the scheduling of events in that.

If I create a event say today that is 30th Aug, and I want to make it to repeat every MONTH for n numbers of years...or WEEKLY or DAILY..I think you must have got that what I want to ask..??

Please suggest something ..!!

Thanks.
 
Mahajan Nikhil
Greenhorn
Posts: 5
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to configure scheduler for this. Try out this.

http://www.quartz-scheduler.org/

 
Prashant Mathur
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't there some api in jdk itself for scheduling for performing this thing ??
 
Mahajan Nikhil
Greenhorn
Posts: 5
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Timer class is there. But it does not covers all aspects of scheduling. Quartz scheduler is itself a java api for scheduling jobs. With this you can even create triggers for recurring events and many more features are there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic