This chapter will introduce the reader to the details of how to build an Asynchronous Email Formatter, using Spring Boot 2 as the backend development framework and Apache Kafka as a message queue. We will explain how to use JPA as the persistence layer, which is a widely used data source. Subsequently, we will use Apache FreeMarker to create the email templates and show you how to use placeholders to provide dynamic data to email templates. Furthermore, we will use Spring Web MVC and Spring Security to implement controllers and provide authentication and authorization.
The following topics will be covered in this chapter:
- Using Spring Data JPA for persistence
- Using Apache FreeMarker for templates
- Using Spring Kafka for communication
- Using Spring Web MVC for REST controller
- Using Spring Security for authentication and authorization
- Demonstrating...