aspose file tools*
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Events scheduling API" Watch "Events scheduling API" New topic
Author

Events scheduling API

Johny Moss
Greenhorn

Joined: Mar 06, 2011
Posts: 1
Hello,

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?

Thanks.
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.


OCPJP 6
Lalitha Prasad Chennupati
Greenhorn

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.

Thanks,
Lalith
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40027
    
  28
. . . 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: http://aspose.com/file-tools
 
subject: Events scheduling API