How to create own calendar reminder in java?
<p>We have a calendar in our web application. Events can be added to the calendar. Events will have some start date and end date. </p>

<p>Events can also have a reminder. So, while adding an event if a user decides that he should be notified of the event by reminder email, he can set the reminder value in event. Similar to what we have in outlook.</p>

<p>e.g. Event Name : Weekly Meeting </p>

<p>Start date : 1st March, 10 AM</p>

<p>Reminder   : 1 hour (it can be 15min, 30 min, 1 hr, 2 hr, 1 day, 2 day etc). </p>

<p>So, in this case an email should be sent to user before event i.e. 1 hour before.</p>

<p>Event table in database has event name, start date, reminder. </p>

<p>How do i implement this in java? </p>
