问题
I have a j2ee web application which supports scheduling of execution of jobs. I am looking for a free calendar component written in java which allows scheduling functionalities as well as capable of changing view mode of tasks either by viewing taks for whole year, month view, week view, day view. Do you have any suggestion.
Im sorry something came up with the implementation. I dnt have to use this calendar for triggering or calling jobs. I just need to retrieve schedules from database and display it in diff view modes. SO it's just some kind of GUI functionality
回答1:
Assuming you are using Quartz Scheduler to get your task view modes you would need to iterate through your triggers and use TriggerUtils.computeFireTimesBetween(Trigger trigg, Calendar cal, Date from, Date to).
Maybe you could develop a Quartz Scheduler JobStore => iCal component (by using iCal4J).
There may be other solutions => http://java-source.net/open-source/job-schedulers
回答2:
I've been doing some research on a PHP Open Source Calendar. My use case is for providing public/private group calendars for the scheduling of appointments. In my search I came across what appears to be a fairly well developed and modular java app (jboss/apache components) at the following site: http://www.bedework.org/bedework/
This is the next generation from the original UW Calendar project.
Not sure you need all the functionality provided, but it will definitely handle scheduling of jobs.
来源:https://stackoverflow.com/questions/2446084/java-scheduling-calendar