CARVIEW |
Java Message Service, Second Edition
Creating Distributed Enterprise Applications
- By
- Mark Richards, Richard Monson-Haefel, David A Chappell
- Publisher:
- O'Reilly Media
- Released:
- May 2009
- Pages:
- 336
Product Editions
- Java Message Service, Second Edition - May 2009
- Java Message Service - December 2000
Java Message Service, Second Edition, is a thorough introduction to the standard API that supports "messaging" -- the software-to-software exchange of crucial data among network computers. With this practical guide, you'll learn how JMS can help you solve many architectural challenges, such as integrating dissimilar systems and applications, increasing scalability, eliminating system bottlenecks, supporting concurrent processing, and promoting architectural flexibility and agility. This edition is updated for JMS 1.1.
Java Message Service, Second Edition, is a thorough introduction to the standard API that supports "messaging" -- the software-to-software exchange of crucial data among network computers. You'll learn how JMS can help you solve many architectural challenges, such as integrating dissimilar systems and applications, increasing scalability, eliminating system bottlenecks, supporting concurrent processing, and promoting flexibility and agility.
Updated for JMS 1.1, this second edition also explains how this vendor-agnostic specification will help you write messaging-based applications using IBM's MQ, Progress Software's SonicMQ, ActiveMQ, and many other proprietary messaging services.
With Java Message Service, you will:
- Build applications using point-to-point and publish-and-subscribe messaging models
- Use features such as transactions and durable subscriptions to make an application reliable
- Implement messaging within Enterprise JavaBeans (EJB) using message-driven beans
- Use JMS with RESTful applications and with the Spring application framework
Messaging is a powerful paradigm that makes it easier to uncouple different parts of an enterprise application. Java Message Service, Second Edition, will quickly teach you how to use the key technology that lies behind it.
-
Chapter 1 Messaging Basics
-
The Advantages of Messaging
-
Enterprise Messaging
-
Messaging Models
-
JMS API
-
Real-World Scenarios
-
RPC Versus Asynchronous Messaging
-
-
Chapter 2 Developing a Simple Example
-
The Chat Application
-
-
Chapter 3 Anatomy of a JMS Message
-
Headers
-
Properties
-
Message Types
-
-
Chapter 4 Point-to-Point Messaging
-
Point-to-Point Overview
-
The QBorrower and QLender Application
-
Message Correlation
-
Dynamic Versus Administered Queues
-
Load Balancing Using Multiple Receivers
-
Examining a Queue
-
-
Chapter 5 Publish-and-Subscribe Messaging
-
Publish-and-Subscribe Overview
-
The TBorrower and TLender Application
-
Durable Versus Nondurable Subscribers
-
Dynamic Versus Administered Subscribers
-
Unsubscribing Dynamic Durable Subscribers
-
Temporary Topics
-
-
Chapter 6 Message Filtering
-
Message Selectors
-
Declaring a Message Selector
-
Message Selector Examples
-
Not Delivered Semantics
-
Design Considerations
-
-
Chapter 7 Guaranteed Messaging and Transactions
-
Guaranteed Messaging
-
Message Acknowledgments
-
Message Groups and Acknowledgment
-
Transacted Messages
-
Lost Connections
-
Dead Message Queues
-
-
Chapter 8 Java EE and Message-Driven Beans
-
Java EE Overview
-
Enterprise JavaBeans 3.0 (EJB3) Overview
-
JMS Resources in Java EE
-
Message-Driven Beans
-
Message-Driven Bean Use Cases
-
-
Chapter 9 Spring and JMS
-
Spring Messaging Architecture
-
JmsTemplate Overview
-
Connection Factories and JMS Destinations
-
Sending Messages
-
Receiving Messages Synchronously
-
Message-Driven POJOs
-
The Spring JMS Namespace
-
-
Chapter 10 Deployment Considerations
-
Performance, Scalability, and Reliability
-
To Multicast or Not to Multicast
-
Security
-
Connecting to the Outside World
-
Bridging to Other Messaging Systems
-
-
Chapter 11 Messaging Design Considerations
-
Internal Versus External Destination
-
Request/Reply Messaging Design
-
Messaging Design Anti-Patterns
-
-
Appendix The Java Message Service API
-
Message Interfaces
-
Common Facilities
-
Common API
-
Point-to-Point API
-
Publish-and-Subscribe API
-
-
Appendix Message Headers
-
Appendix Message Properties
-
Property Names
-
Property Values
-
Immutable Properties
-
Property Value Conversion
-
Nonexistent Properties
-
Property Iteration
-
JMS-Defined Properties
-
Provider-Specific Properties
-
-
Appendix Installing and Configuring ActiveMQ
-
Installing ActiveMQ
-
Configuring ActiveMQ for JNDI
-
Configuration For Chat Examples
-
Configuration for P2P Examples
-
Configuration for Pub/Sub Examples
-
Configuration for Spring JMS Examples
-
-
Colophon

- Title:
- Java Message Service, Second Edition
- By:
- Mark Richards, Richard Monson-Haefel, David A Chappell
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- May 2009
- Ebook Release:
- May 2009
- Pages:
- 336
- Print ISBN:
- 978-0-596-52204-9
- | ISBN 10:
- 0-596-52204-5
- Ebook ISBN:
- 978-0-596-80221-9
- | ISBN 10:
- 0-596-80221-8
-
Mark Richards
Mark Richards, Director and Sr. Technical Architect at Collaborative Consulting, LLC, is a leading authority on messaging, transaction management, systems integration, and Service Oriented Architecture. He is the author of "Java Transaction Design Strategies", contributing author of "97 Things Every Software Architect Should Know", "NFJS Anthology Volume 1", "NFJS Anthology Volume 2", and the author of numerous transaction, JMS, and SOA-related articles. Mark is a regular conference speaker on the No Fluff Just Stuff conference tour and has spoken at other conferences around the world, including QCon, TSSJS, and SYS-CON.
-
Richard Monson-Haefel
Richard Monson-Haefel is the author of Enterprise JavaBeans (Editions 1 - 5), Java Message Service and one of the world's leading experts and book authors on enterprise computing. He was the lead architect of OpenEJB, an open source EJB container used in Apache Geronimo, a member of the JCP Executive Committee, member of JCP EJB expert groups, and an industry analyst for Burton Group researching enterprise computing, open source, and Rich Internet Application (RIA) development. Today, Richard is the VP of Developer Relations for Curl, Inc. a RIA platform used in enterprise computing. You can learn more about Richard at his web site Monson-Haefel.
-
David A Chappell
David A. Chappell is vice president and chief technologist for SOA at Oracle Corporation. Chappell has over 20 years of experience in the software industry covering a broad range of roles including Architecture, code-slinging, sales, support and marketing. He is well known worldwide for his writings and public lectures on the subjects of Service Oriented Architecture (SOA), the enterprise service bus (ESB), message oriented middleware (MOM), enterprise integration, and is a co-author of many advanced Web Services standards.
As author of the O'Reilly Enterprise Service Bus book, Dave has had tremendous impact on redefining the shape and definition of SOA infrastructure. He has extensive experience in distributed computing infrastructure, including ESB, SOA Governance, EJB and Web application server infrastructure, JMS and MOM, EAI, CORBA, and COM. Chappell's experience also includes development of client/server infrastructure, graphical user interfaces and language interpreters.
Chappell is also well noted for authoring Java Web Services (O'Reilly), Professional ebXML Foundations (Wrox) and Java Message Service (O'Reilly). In addition, he has written numerous articles in leading industry publications, such as Business Integration Journal, Enterprise Architect, Java Developers Journal, JavaPro, Web Services Journal, XML Journal and Network World.
Chappell and his works have received many industry awards including the "Java™ Technology Achievement Award" from JavaPro magazine for "Outstanding Individual Contribution to the Java Community" in 2002, and the 2005 CRN Magazine "Top 10 IT leaders" award for "casting larger-than-life shadow over the industry".
The image on the cover of Java Message Service, Second Edition, is a passenger pigeon (Ectopistes migratorius), an extinct species. In the mid-1800s, passenger pigeons were the most numerous birds in North America. Several flocks, each numbering more than two billion 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 could keep a flock in one place for years at a time. John James Audubon observed that nearly the entire passenger pigeon population once stayed in Kentucky for several years and was 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 the destruction of forests, as tree limbs and even entire trees toppled. (The accumulated inches of bird dung on the ground didn't help.) Such roosting habits, combined with high infant mortality and the fact that female passenger pigeons laid a single egg in a flimsy nest, did not bode well for the longterm survival of the species.
It was humans harvesting passenger pigeons for food, however, that drove them to extinction. In 1855, a single operation was processing 18,000 birds per day! Not even Audubon himself was concerned that the pace might have an adverse effect on the birds' population, but the last passenger pigeon died in the Cincinnati Zoo in 1914.
The cover image is a 19th-century engraving from the Dover Pictorial Archive. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSansMonoCondensed.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |