Summary

A messaging system can be a powerful tool for integrating disparate applications. It provides an asynchronous model of programming. The client does not wait for the response from the server and the server does not necessarily process requests at the same time that the client sends them. A messaging system can also be useful for building scalable applications and batch processing. JMS provides uniform APIs to access different messaging systems.

In this chapter, we learned how to send and receive messages from queues and to publish and subscribe messages from topics. There are many different ways to use JMS APIs. We started with the basic JMS APIs and then learned how annotations can help reduce some of the code. We also learned how ...

Get Java EE 8 Development with Eclipse 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.