• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Events scheduling API

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 276
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79778
382
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic