Part 4. Integrating Spring
No application is an island. These days, enterprise applications must coordinate with other systems to achieve their purpose. In part 4, you’ll learn how to take your application beyond its own boundaries and integrate it with other applications and enterprise services.
In chapter 15, “Working with remote services,” you’ll learn how to expose your application objects as remote services. You’ll learn how to transparently access remote services as though they’re any other object in your application. In doing so, you’ll explore various remoting technologies, including RMI, Hessian/Burlap, and SOAP web services with JAX-WS.
In contrast to RPC-style remote services presented in chapter 15, chapter 16, “Creating Rest APIs with Spring MVC,” explores how to build RESTful services that are focused on application resources using Spring MVC.
Chapter 17, “Messaging with Spring,” explores a different approach to application integration by showing how Spring can be used with the Java Message Service (JMS) and the Advanced Message Queuing Protocol (AMQP) to achieve asynchronous communication between applications.
Increasingly, web applications are expected to be responsive and show near real-time data. Chapter 18, “Messaging with WebSocket and STOMP,” showcases Spring’s new support for building asynchronous communication between a server and its web clients.