Buying Options
Java Message Service
Ebook $27.99
Add to Cart
Safari Books Online
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. Java Message Service, Second Edition - May 2009
  2. Java Message Service - December 2000
Description
This book is a thorough introduction to Java Message Service (JMS) from Sun Microsystems. It shows how to build applications using the point-to-point and publish-and-subscribe models; use features like transactions and durable subscriptions to make applications reliable; and 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.
Full Description
Table of Contents
  1. Chapter 1 Understanding the Messaging Paradigm

    1. Enterprise Messaging

    2. The Java Message Service ( JMS)

    3. Application Scenarios

    4. RPC Versus Asynchronous Messaging

  2. Chapter 2 Developing a Simple Example

    1. The Chat Application

  3. Chapter 3 Anatomy of a JMS Message

    1. Headers

    2. Properties

    3. Message Selectors

    4. Message Types

  4. Chapter 4 Publish-and-Subscribe Messaging

    1. Getting Started with the B2B Application

    2. Temporary Topics

    3. Durable Subscriptions

    4. Publishing the Message Persistently

    5. JMSCorrelationID

    6. Request and Reply

    7. Unsubscribing

  5. Chapter 5 Point-to-Point Messaging

    1. Point-to-Point and Publish-and-Subscribe

    2. The QWholesaler and QRetailer

    3. Creating a Queue Dynamically

    4. Load Balancing Using Multiple QueueSessions

    5. Examining a Queue

  6. Chapter 6 Guaranteed Messaging, Transactions, Acknowledgments, and Failures

    1. Guaranteed Messaging

    2. Message Acknowledgments

    3. Message Groups and Acknowledgment

    4. Transacted Messages

    5. Lost Connections

    6. Dead Message Queues

  7. Chapter 7 Deployment Considerations

    1. Performance, Scalability, and Reliability

    2. To Multicast or Not to Multicast

    3. Security

    4. Connecting to the Outside World

    5. Bridging to Other Messaging Systems

  8. Chapter 8 J2EE, EJB, and JMS

    1. J2EE Overview

    2. J2EE: A United Platform

    3. The JMS Resource in J2EE

    4. The New Message-Driven Bean in EJB 2.0

  9. Chapter 9 JMS Providers

    1. IBM: MQSeries

    2. Progress: SonicMQ

    3. Fiorano: FioranoMQ

    4. Softwired: iBus

    5. Sun Microsystems: Java Message Queue

    6. BEA: WebLogic Server

    7. ExoLab: OpenJMS

  1. Appendix A The Java Message Service API

    1. Common Facilities

    2. Point-to-Point API

    3. Publish-and-Subscribe API

  2. Appendix B Message Headers

  3. Appendix C Message Properties

    1. Property Names

    2. Property Values

    3. Read-Only Properties

    4. Property Value Conversion

    5. Nonexistent Properties

    6. Property Iteration

    7. JMS-Defined Properties

    8. Provider-Specific Properties

  4. Appendix D Message Selectors

    1. Identifiers

    2. Literals

    3. Comparison Operators

    4. Arithmetic Operators

    5. Declaring a Message Selector

    6. Not Delivered Semantics

  5. Colophon

View Full Table of Contents
Product Details
Title:
Java Message Service
By:
David A Chappell, Richard Monson-Haefel
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
December 2000
Ebook Release:
February 2009
Pages:
240
Print ISBN:
978-0-596-00068-4
| ISBN 10:
0-596-00068-5
Ebook ISBN:
978-0-596-10333-0
| ISBN 10:
0-596-10333-6
Customer Reviews
About the Author
  1. Richard Monson-Haefel

    Richard Monson-Haefel is the author of Enterprise JavaBeans, 3rd Edition, Java Message Service and one of the world's leading experts and book authors on Enterprise Java. He is the lead architect of OpenEJB, an open source EJB container used in Apple Computer's WebObjects plateform, and has consulted as an architect on J2EE, CORBA, Java RMI and other distributed computing projects over the past several years.

    View Richard Monson-Haefel's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The image on the cover of Java Message Service is a passenger pigeon (Ectopistes migratorius), an extinct species. Although these birds had some personality quirks that might have doomed their existence anyway, it was humans who proved their ultimate undoing.

In the mid-1800s, passenger pigeons were the most numerous birds in North America. Several flocks, each numbering two billion or more birds, lived in various habitats east of the Rocky Mountains. Flocks migrated en masse in search of food, without regard to season, and a good food source might keep a flock in one place for years at a time. (In fact, John James Audubon observed that nearly the entire passenger pigeon population once stayed in Kentucky for several years and were seen nowhere else during this time.)

Whole flocks roosted together in small areas, and the weight of so many birds—often up to 90 nests in a single tree—resulted in destruction of forests, as tree limbs and even entire trees toppled. (The accumulated inches of bird dung on the ground probably didn't help, either.) These roosting habits, combined with high infant mortality and the fact that female passenger pigeons laid a single egg in a flimsy nest, didn't bode well for the long-term survival of the species.

It was the harvesting of passenger pigeons for food, however, that drove them to extinction. In 1855, a single operation was processing 18,000 birds per day! Although even Audubon himself thought that the prodigious pace of passenger pigeon processing wouldn't have an adverse effect on the birds' population, he was wrong, because the last passenger pigeon died in the Cincinnati Zoo in 1914. Colleen Gorman was the production editor and the copyeditor, and Clairemarie Fisher O'Leary was the proofreader, for Java Message Service. Catherine Morris and Rachel Wheeler provided quality control. Matt Hutchinson and Rachel Wheeler provided production support. John Bickelhaupt wrote the index.

Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

Melanie Wang designed the interior layout based on a series design by Nancy Priest. Mike Sierra implemented the design in FrameMaker 5.5.6. The heading font is Bodoni BT, the text font is New Baskerville, and the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano using Macromedia FreeHand 8 and Adobe Photoshop 5. This colophon was written by Leanne Soylemez.

  • Book cover of Java Message Service