Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Events scheduling API

 
Johny Moss
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 276
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 50239
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
Sunny Bhandari
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic