File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Events scheduling API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Events scheduling API" Watch "Events scheduling API" New topic

Events scheduling API

Johny Moss

Joined: Mar 06, 2011
Posts: 1

I have a web-site, containing information about upcoming events: parties and meetings.
Each event has a Name and Date when it occurs.

I'm looking for an open API, which would allow me to manage events in my application effectively.
To be exact, the API should provide the following features:
- Adding / modifying entries in the data store (preferably a database)
- Support of re-occuring events (i.e. same time every Monday)
- Giving a list of upcoming events for the coming week

I'm pretty sure such API should exist, 'cause the task is quite common.
Does anyone know one?

Vinoth Kumar Kannan
Ranch Hand

Joined: Aug 19, 2009
Posts: 276

You can try looking at java.util.TimerTask & java.util.Timer APIs, if you want to schedule some particular java code to execute at some particular time or at specific intervals.

Lalitha Prasad Chennupati

Joined: Aug 17, 2008
Posts: 3
Hi Johny Moss,

You can use Quartz API for all your scheduling activities. You can use any Java Script Calendar which is suitable to your requirement.
We could specify the events in the form of XML file also using Quartz API.

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46337
. . . and welcome to the Ranch
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

Quartz will give you lot more flexibility. For basic purpose and to avoid the use of third party library, use the Timer class in JDK

Java Experience
I agree. Here's the link:
subject: Events scheduling API
It's not a secret anymore!