Using Messaging over WebSocket with STOMP
In the previous chapter, we explored the concept of layering protocols over WebSocket and some of the key benefits of layering a standards-based protocol over WebSocket. Specifically, we looked at building a standard instant messaging and presence protocol, XMPP, over WebSocket. In this chapter, we examine how to use a messaging protocol with WebSocket.
Messaging is an architectural style characterized by sending asynchronous messages between independent components, allowing you to build loosely coupled systems. Messaging provides an abstraction layer for communication patterns, and thus is ...