The chapters in part 2 cover topics that help integrate your Spring application with other applications.
Chapter 6 expands on the discussion of Spring MVC started in chapter 2 by looking at how to write REST APIs in Spring. We’ll look at how to define REST endpoints in Spring MVC, enable hyperlinked REST resources, and automatically generate repository-based REST endpoints with Spring Data REST. Chapter 7 switches perspective to show how a Spring application can consume a REST API. In chapter 8, we’ll look at using asynchronous communication to enable a Spring application to both send and receive messages using the Java Message Service (JMS), RabbitMQ, and Kafka. And finally, chapter 9 discusses declarative application integration using the Spring Integration project. We’ll cover processing data in real time, defining integration flows, and integrating with external systems like emails and filesystems.