Publisher: O'Reilly Media Released: December 2000 Pages: 240
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. |
-
Chapter 1 Understanding the Messaging Paradigm -
Enterprise Messaging -
The Java Message Service ( JMS) -
Application Scenarios -
RPC Versus Asynchronous Messaging -
Chapter 2 Developing a Simple Example -
The Chat Application -
Chapter 3 Anatomy of a JMS Message -
Headers -
Properties -
Message Selectors -
Message Types -
Chapter 4 Publish-and-Subscribe Messaging -
Getting Started with the B2B Application -
Temporary Topics -
Durable Subscriptions -
Publishing the Message Persistently -
JMSCorrelationID -
Request and Reply -
Unsubscribing -
Chapter 5 Point-to-Point Messaging -
Point-to-Point and Publish-and-Subscribe -
The QWholesaler and QRetailer -
Creating a Queue Dynamically -
Load Balancing Using Multiple QueueSessions -
Examining a Queue -
Chapter 6 Guaranteed Messaging, Transactions, Acknowledgments, and Failures -
Guaranteed Messaging -
Message Acknowledgments -
Message Groups and Acknowledgment -
Transacted Messages -
Lost Connections -
Dead Message Queues -
Chapter 7 Deployment Considerations -
Performance, Scalability, and Reliability -
To Multicast or Not to Multicast -
Security -
Connecting to the Outside World -
Bridging to Other Messaging Systems -
Chapter 8 J2EE, EJB, and JMS -
J2EE Overview -
J2EE: A United Platform -
The JMS Resource in J2EE -
The New Message-Driven Bean in EJB 2.0 -
Chapter 9 JMS Providers -
IBM: MQSeries -
Progress: SonicMQ -
Fiorano: FioranoMQ -
Softwired: iBus -
Sun Microsystems: Java Message Queue -
BEA: WebLogic Server -
ExoLab: OpenJMS -
Appendix A The Java Message Service API -
Common Facilities -
Point-to-Point API -
Publish-and-Subscribe API -
Appendix B Message Headers -
Appendix C Message Properties -
Property Names -
Property Values -
Read-Only Properties -
Property Value Conversion -
Nonexistent Properties -
Property Iteration -
JMS-Defined Properties -
Provider-Specific Properties -
Appendix D Message Selectors -
Identifiers -
Literals -
Comparison Operators -
Arithmetic Operators -
Declaring a Message Selector -
Not Delivered Semantics -
Colophon |
- Title:
- Java Message Service
- By:
- David A Chappell, Richard Monson-Haefel
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- December 2000
- Ebook:
- 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
|
-
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. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By O'Reilly Media, Inc.
January 1996
By Keith Gemmell
March 2003
By Jonathan Gennick
April 2000
|
Customer Reviews
6/5/2002 (0 of 1 customers found this review helpful) 2.0Java Message Service Review By Doug Waldron from Undisclosed 2/7/2002 (1 of 1 customers found this review helpful) 5.0Java Message Service Review By Malleswar from Undisclosed 7/26/2001 (1 of 1 customers found this review helpful) 4.0Java Message Service Review By mahendra from Undisclosed 3/26/2001 (0 of 1 customers found this review helpful) 5.0Java Message Service Review By Dave Palmer from Undisclosed 3/11/2001 5.0Java Message Service Review By Kyle Brown from Undisclosed
|
|
|