CHAPTER 13JRuby and Message-OrientedSystems

You can interact with legacy systems in three major ways: with web services, with Message-Oriented Middleware (MOM), and with binary socket communication. It's common to add a thin layer of web services or MOMs over a binary-based legacy system, so in practice that's what we'll be working against. We looked at web services in the last chapter; this chapter will be devoted to MOMs, with some help from the Java Messaging Service (JMS). To drive the point home about a cumbersome interface, the legacy system described will have an inconvenient binary protocol—well, not inconvenient, but bad enough.

First of all, we'll take a closer look at what a MOM can incorporate and why large organizations like to ...

Get Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java™ Platform now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.