Java Message Service
O'Reilly Media (Verlag)
978-0-596-00068-4 (ISBN)
- Titel erscheint in neuer Auflage
- Artikel merken
This text provides an 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 co-ordinate 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.
Richard Monson-Haefel is a leading expert in Enterprise Java development. He is the architect of OpenEJB, an open source EJB server, and has consulted as an architect on Enterprise JavaBeans, CORBA, Java RMI, and other distributed computing projects over the past several years. Richard is also the author of O'Reilly's Enterprise JavaBeans. Dave Chappell is vice president and SonicMQ chief technology evangelist at Progress Software Corp. Dave has over 18 years of industry experience building software tools and infrastructure for application developers, spanning all aspects of R&D, sales, marketing, and support services. Dave has also been published in Network World magazine and has presented technical topics at numerous speaking engagements including JavaOne and XMLOne. As director of engineering for SonicMQ, Progress Software's award winning JMS Internet Commerce Messaging System, Dave oversaw the design and development of the fastest and most scalable, reliable, and robust implementation of JMS in the marketplace. Dave has under his belt a broad cross-platform background in designing and developing Internet based middleware and distributed object systems across a wide range of technologies including C++, Java, DCOM, CORBA, and EJB. Dave's experience also includes development of client/server infrastructure, graphical user interfaces, language interpreters, and various utility libraries.
Preface 1. Understanding the Messaging Paradigm Enterprise Messaging The Java Message Service ( JMS) Application Scenarios RPC Versus Asynchronous Messaging 2. Developing a Simple Example The Chat Application 3. Anatomy of a JMS Message Headers Properties Message Selectors Message Types 4. Publish-and-Subscribe Messaging Getting Started with the B2B Application Temporary Topics Durable Subscriptions Publishing the Message Persistently JMSCorrelationID Request and Reply Unsubscribing 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 6. Guaranteed Messaging, Transactions, Acknowledgments, and Failures Guaranteed Messaging Message Acknowledgments Message Groups and Acknowledgment Transacted Messages Lost Connections Dead Message Queues 7. Deployment Considerations Performance, Scalability, and Reliability To Multicast or Not to Multicast Security Connecting to the Outside World Bridging to Other Messaging Systems 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 9. JMS Providers IBM: MQSeries Progress: SonicMQ Fiorano: FioranoMQ Softwired: iBus Sun Microsystems: Java Message Queue BEA: WebLogic Server ExoLab: OpenJMS A. The Java Message Service API B. Message Headers C. Message Properties D. Message Selectors Index
Erscheint lt. Verlag | 9.1.2001 |
---|---|
Zusatzinfo | index |
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 178 x 233 mm |
Gewicht | 460 g |
Einbandart | kartoniert |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 0-596-00068-5 / 0596000685 |
ISBN-13 | 978-0-596-00068-4 / 9780596000684 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich