Search

Table of Contents
Java Message Service
BOOK:
Java Message Service
Browse by Category
 
 
Hide Left Column
Java Message Service
Java Message Service
by Richard Monson-Haefel; David A. Chappell

Publisher: O'Reilly Media, Inc.
Pub Date: December 4, 2000
More recent edition of this book available.
Print ISBN-13: 978-0-596-00068-4
Pages: 240
Slots: 1.0
Start Reading
Buy Print Version
Overview

This book is a thorough introduction to Java Message Service (JMS), the standard Java application program interface (API) from Sun Microsystems that supports the formal communication known as "messaging" between computers in a network. JMS provides a common interface to standard messaging protocols and to special messaging services in support of Java programs. The messages exchange crucial data between computers, rather than between users--information such as event notification and service requests. Messaging is often used to coordinate programs in dissimilar systems or written in different programming languages. Using the JMS interface, a programmer can invoke the messaging services of IBM's MQSeries, Progress Software's SonicMQ, and other popular messaging product vendors. In addition, JMS supports messages that contain serialized Java objects and messages that contain Extensible Markup Language (XML) pages. Messaging is a powerful new paradigm that makes it easier to uncouple different parts of an enterprise application. Messaging clients work by sending messages to a message server, which is responsible for delivering the messages to their destination. Message delivery is asynchronous, meaning that the client can continue working without waiting for the message to be delivered. The contents of the message can be anything from a simple text string to a serialized Java object or an XML document. Java Message Service shows how to build applications using the point-to-point and publish-and-subscribe models; how to use features like transactions and durable subscriptions to make an application reliable; and how to use messaging within Enterprise JavaBeans. It also introduces a new EJB type, the MessageDrivenBean, that is part of EJB 2.0, and discusses integration of messaging into J2EE.

 
Editorial Reviews
Product Description
This book is a thorough introduction to Java Message Service (JMS), the standard Java application program interface (API) from Sun Microsystems that supports the formal communication known as "messaging" between networked computers. JMS provides a common interface to standard messaging protocols and to special messaging services in support of Java programs. Messaging involves crucial data exchange between computers, and is often used to coordinate programs in dissimilar systems or different programming languages. Using the JMS interface, a programmer can invoke the messaging services of IBM's MQSeries, Progress Software's SonicMQ, and other popular messaging product vendors. JMS also supports messages that contain serialized Java objects or Extensible Markup Language (XML) pages. Java Message Service shows how to build applications using the point-to-point and publish-and-subscribe models; use features like transactions and durable subscriptions to make an application reliable; and use messaging within Enterprise JavaBeans. It introduces a new EJB type, the MessageDrivenBean, that is part of EJB 2.0, and discusses integration of messaging into J2EE.
Amazon.com Review
The Java Message Service (JMS) provides a way for the components of a distributed application to talk asynchronously, or for welding together legacy enterprise systems. Think of it as application-to-application e-mail. Unlike COM, JMS uses one or more JMS servers to handle the messages on a store-and-forward basis, so that the loss of one or more components doesn't bring the whole distributed application to a halt.

JMS consists of a set of messaging APIs that enable two types of messaging, publish-and-subscribe (one-to-many) and point-to-point (one-to-one). The highly lucid explanation of the ways in which these work makes the technical content a lot more approachable. In practice, however, Java Message Service is still a book for Java programmers who have some business programming experience. You need the background.

After a simple JMS demonstration in which you create a chat application using both messaging types, the authors dissect JMS message structures, explore both types in detail, and then move on to real-world considerations. These include reliability, security, deployment, and a rundown of various JMS server providers. The appendices list and describe the JMS API, and provide message reference material.

Considering the complexity and reach of the subject matter, Java Message Service does a great job of covering both theory and practice in a surprisingly efficient manner. It's easy to see why JMS has become so popular so quickly. Recommended. --Steve Patient, Amazon.co.uk

 
Reader Reviews From Amazon (Ranked by 'Helpfulness')
Average Customer Rating:based on 30 reviews.
Excellent Introduction... it will get you started, 2007-05-19
Reviewer rating:
If you are looking into JMS for use at work or you are just curious, this straight-to-the-point and easy read will start you on your way. While not going into absurd depth about the topic, the author provides a wonderful overview and core knowledge transfer for the reader.

Quick and easy to read, this no-fluff title will give you everything you need to get started with JMS.

If you are a beginner, this will get you started off with an extremely solid foundation. If you are a pro, it will give you a great "step-back view" of the methodology that you are utilizing.

Good for all, but recommended as EVERYONE'S introduction to JMS.
Decent Book, 2006-12-08
Reviewer rating:
As a beginner to JMS, I found this book to be very useful. Most chapters have examples and the book also gives you the link where you can download code for the examples. The examples are simple and clear for the most part (except in couple of places) to illustrate the concepts related to JMS. I tested the code on BEA Weblogic Server and it runs fine without any problem. There are some minor errors in one or two examples but they can be spotted readily once you read the book and you should be able to fix them with relative ease. Overall I found this book to be a nice introduction to JMS. However, as another reviewer mentioned, keep in mind that this book is now more than 5 years old and JMS has been updated since then. Still it is a good buy if you are new to this topic.
Good introduction but need some updating to JMS 1.1, 2005-12-04
Reviewer rating:
This is a reasonable good book, as you can expect from O'Reilly. There is a good introduction in the topic (e.g. where is Messaging used for, what kind of messaging does exist, what is JMS), and it offers chapters with some practical code how you send and receive messages, and so on. It contains real Java code with excellent explanation.

If you're familar with Java, don't know anything of Middleware and JMS, this is a pretty good start. If you read this book, and you play with an free open source JMS implementation (e.g. ActiveMQ), you will soon get things working.

*HOWEVER* This book is now arround 5 years old and *ONLY* covers JMS 1.02, where JMS 1.1 is now common.

*BUT* the majority of all other JMS books are also 3-5 years old, and some also covers only JMS 1.02.

If you keep this in mind, I think this is a pretty good purchase.
ok, but a little outdated, 2004-12-05
Reviewer rating:
The basics were covered, but I felt this book was a little outdated. There werent alot of books to choose from so I chose this book because it seemed like it had the most coverage.
Decent Book on JMS, 2004-02-13
Reviewer rating:
If you're looking to learn JMS, then this is a decently good book to get you started. One of the best things about it is that it's not very thick and it gets to the point pretty quickly.
 
Some information above was provided using data from Amazon.com. View at Amazon >
Java Message Service
Java Message Service
by Richard Monson-Haefel; David A. Chappell

Publisher: O'Reilly Media, Inc.
Pub Date: December 4, 2000
More recent edition of this book available.
Print ISBN-13: 978-0-596-00068-4
Pages: 240
Slots: 1.0
Start Reading
Buy Print Version
Company | Terms of Service | Privacy Policy | Contact Us | Help | 508 Compliance | Subscribe Now
© 2009 Safari Books Online. All rights reserved.