Learn how to use Spring Boot 3 with JDK 20 to create an amazing Email Notification and HTML services using Thymeleaf and Amazon SES.
You will learn tips and tricks for creating an amazing Email Microservice.
Using Amazin SES (Simple Email Service) is a massive technology change, no more connecting to every email provided, a common interface that changes the word.
From simple emails like new customers notifications, password resets to mass marketing emails, this system will change how you think about emails. It should actually stop how you think since you no longer need any other solution in the corporate environment, create your own system and save money today.
Both Java and Spring Boot are widely used in the development world, and as such, they come with a lot of baggage.
Source code on my GitHub: https://github.com/ThomasJay/SpringBo...
In this video, I'll be discussing how these two frameworks are changing how development is done and the speed you can be productive today.
Be sure to watch and learn if you're excited about Java 20 or Spring Boot 3!
Oracle has made JDK 20 Free for Production so there is no reason for me not to move to JDK 20.
Getting the new Features of Spring Boot 3 is a huge bonus, if nothing else getting Records from
Java may be worth the effort.
Follow me along on my adventures.
More can be found on my Udemy classes: https://www.udemy.com/user/tomjay2
Find this and more on my GitHub: https://github.com/ThomasJay
As well as my Web site: https://www.thomasjayconsulting.com
I want to help you learn and find an Amazing Job or just increase your Skills.
Chapters
00:00 Introduction
00:17 Amazon SES Configuration
00:38 Verify Emails for AWS SES Sandbox
01:14 AWS SES SMTP Settings and Credentials
02:07 Create a Spring Boot Project
02:35 Selecting JDK 20
02:49 Selecting Spring Boot 3.0.6
02:56 Adding Lombok, Spring Web, Email and Thymeleaf into project
03:30 Empty Spring Boot Project
04:30 Create Email Rest Controller
07:52 Create the Email Service
09:50 Test initial Rest Controller flow
10:30 Testing with Postman
12:30 AWS SES / SMTP property settings
14:15 Externalize application.properties
15:00 Simple Send Method with Email Sender
15:55 JavaMailSender IDE error and how to resolve for @Autowired using required=false
19:10 Testing Simple Notification Email
20:00 Moving from hard coded values to application.properties values and parameters passed in
21:45 @Value mapping to application.properties
25:00 Fixing Performance using @EnableAsync and @Async
26:40 HTML formatted Emails
27:50 ThymeLeaf Configuration class
29:00 First Simple Email Template
35:20 Generating HTML String from Thymeleaf
41:00 More Advanced and Multiple Templates
45:00 Using Properties to setup Thymeleaf variables (name and offerings) and adding List of items
46:00 Final Testing of advanced HTML Template in Microservice
47:00 Wrap-up of everything working
#java #springboot #aws