Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Spring Boot Quartz Scheduler Tutorial
Rating: 3.7 out of 5(34 ratings)
1,598 students

Spring Boot Quartz Scheduler Tutorial

Learn How to Build an Email Scheduling app | Spring Boot Quartz Scheduler Example
Last updated 2/2022
English
English [Auto],

What you'll learn

  • How to Build an Email Scheduling app
  • Spring Boot Quartz Scheduler Example
  • Configuring Quartz, MySQL and Mail Properties
  • Testing application using Postman

Course content

1 section9 lectures1h 30m total length
  • Getting started with Quartz and Spring Boot7:49

    Learn how to schedule emails with quartz and spring boot by building a real world email scheduler, persisting jobs in MySQL, and exposing controllers for scheduling, updating and resuming tasks.

  • Configuring Quartz, MySQL and Mail Properties10:39

    Configure a Spring Boot quartz scheduler with MySQL data source, JDBC job store, and mail properties using Gmail SMTP to schedule and send emails.

  • Connecting MySQL Database and Creating Quartz Tables10:15

    Configure properties and connect a MySQL database for Spring Boot Quartz, set up persistent jobs, and load quartz tables like job details and triggers, plus Gmail SMTP settings.

  • Implementing EmailRequest and EmailResponse11:03

    Develop a rest api to schedule emails using spring boot quartz scheduler, implementing EmailRequest and EmailResponse with validation for email, subject, body, date, time, and time zone.

  • Implementing JobDetail and Trigger11:12

    Implement job detail and trigger for an email scheduler in Spring Boot. Map the job data map (email, subject, body) and expose an API endpoint to schedule emails.

  • Implementing Email Scheduler Controller12:46

    Finish building the email scheduler controller using the quartz scheduler, expose a rest endpoint, validate date times, and test with Postman to confirm emails are scheduled.

  • Implementing Email Job8:25

    Implement the email job in the spring boot quartz scheduler by wiring the job execution context and extracting subject, body, and recipient.

  • Implementing sendMail() functionality6:08

    Implement the sendMail functionality in a spring boot quartz scheduler app by wiring mail properties and a mail sender, exposing a post endpoint to schedule emails and handle messaging exceptions.

  • Testing application using Postman (Final Part)12:12

    Test a Spring Boot quartz scheduler by using Postman to schedule emails, validate the API, and inspect quartz tables, job details, and triggers in the database.

Requirements

  • Java
  • Basic Knowledge of Spring Framework

Description

In this video course, we'll learn how to use Quartz Scheduler to schedule jobs in Spring Boot by creating a simple Email Scheduling application. Quartz is a feature-rich, open source job scheduling library that can be integrated into virtually any Java application, from the smallest stand-alone application to the most complex e-commerce system. Quartz can be used to create simple or complex schedules for hundreds of jobs to be executed.


When it comes to building an enterprise-based application, Spring 5 is a popular web framework for back-end development among Java developers.

It is incredibly large because it is made up of several modules and projects.


The Spring Framework and Spring Boot enable developers to construct corporate Java applications that are high-performing, reusable, easily testable, and loosely coupled. Spring Boot is a tool for getting started very quickly with Spring applications. Spring Boot Focuses attention at a single point and Control a large collection of spring-* projects. Spring Boot allows a user to create stand-alone, production-grade Spring Applications and Exposes a lot of useful features by default.


It may be used to create any Java program.


Spring framework knowledge is in high demand in the enterprise market, and Spring framework developers are well compensated.

The fact that you have Spring Framework on your CV will set you apart from other Java developers.


Who this course is for:

  • Student with java background
  • Spring Developers who want to master Spring Boot Fundamentals
  • New backend developers