Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4037408
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:20:39+00:00 2026-05-20T12:20:39+00:00

We have a calendar in our web application. Events can be added to the

  • 0

We have a calendar in our web application. Events can be added to the calendar, and events will have some start date and end date.

Events can also have a reminder. So, while adding an event, if a user decides to he notified of the event by a reminder email, the user can set the reminder value in the event. Similar to what we have in Outlook.

For example, Event Name: Weekly Meeting

Start date: 1st March, 10 AM

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

So, in this case an email should be sent to the user before the event, that is, 1 hour before.

An event table in the database has event name, start date, reminder.

How do I implement this in Java?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T12:20:40+00:00Added an answer on May 20, 2026 at 12:20 pm

    If you don’t want to use an external scheduler, a Java Timer can be used. You need to implement the TimerTask interface and schedule it using the Timer for whatever frequency you require. The TimerTask should simply query the database to get all the upcoming events and send emails.

    To get all the upcoming events, use the proper SQL syntax for your database –

    WHERE (START_DATE – TODAY) <
    REMINDER_ADVANCE

    To send email, use the Java mail API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have calendar in Qt. I want when user selects date, 14(Qint32) will be
We have an events calendar and here is what I am thinking for our
We have our own custom calendar in our portal which is developed in Java.
I have jquery calendar code like this <script> $(document).ready(function() { $('#calTwo').jCal({ day: new Date(
I have gotten Calendar class to work in my application, but the calendar does
I have a calendar feed (.ics) available from my application, but it's quite large
I have a calendar on my website, generated in Perl using Template::Toolkit and Template::Plugin::Date
I have a calendar application, and in that calendar application, there is a mini
We currently have a java/jsp online web service that includes it's own custom calendar.
We have developed a calendar for our extranet. Each week we update it with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.