How to do it...

Let us start this chapter with a new set up and configuration for the new ch08 project and with the following steps:

  1. Add in its pom.xml and all the needed Maven core libraries and dependencies such as the Spring 5, Servlet 3.1, JSP 2.3.1, JSTL 1.2, MySQL Connector 5.1.x, HikariCP 2.5.x, and Log4J 1.2.
  2. Just like in the previous chapters, create similar empty classes, namely SpringWebinitializer, SpringWebinitializer, SpringContextConfig, and SpringDbConfig. Store them in their respective packages and configure them according to what's been done previously.
  1. To enable asynchronous request transactions with callbacks, the Spring 5 platform must utilize at least Servlet 3.1 container since this version supports multithreading ...

Get Spring 5.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.