Академический Документы
Профессиональный Документы
Культура Документы
Written for those with a solid grounding in Java network programming and familiarity with the J2EE environment, this guide shows how you can use Java Message Service (JMS) to create robust, asynchronous, loosely-coupled Java applications.
Table of Contents
Professional JMS Programming Introduction Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 - Introduction to Messaging Applications, MOM, and JMS - JMS API Fundamentals - JMS Messages - Point-to-Point Messaging - Publish/Subscribe Messaging - Web Applications and JMS - Enterprise JavaBeans and JMS - JMS and Clustering - Distributed Logging Using JMS
Chapter 10 - XML Messaging Chapter 11 - JMS for Mobile Applications and Wireless Communication Appendix A - JMS Providers and JNDI Appendix B - Message Selector Syntax Appendix C - Emerging XML Standards Index Back Cover
Introduction
Message-Oriented Middleware (MOM) has been a vital element for integrating enterprise applications for quite a long time. MOM allows enterprise systems to be composed of self-contained independent entities that are loosely coupled to each other thereby providing flexibility, extensibility, and minimal mutual impact. Products like MSMQ and MQSeries have provided proprietary solutions to meet the various enterprise messaging requirements. With the emergence of Java as a platform for developing and deploying enterprise applications the need for defining a standard way for Java language programs to participate in enterprise messaging became quite evident. The Java Message Service (JMS) defines a standard way for Java language programs to create and exchange enterprise messages. JMS also provides a standard way for Java language programs residing in the various tiers of enterprise applications to access the services of products from traditional MOM vendors. JMS, like other enterprise Java APIs, specifies a set of interfaces that define the various entities associated with enterprise messaging. JMS providers are software products that implement these interfaces and provide enterprise messaging solutions. JMS based enterprise systems typically comprise a set of JMS clients exchanging messages with each other by connecting to a central JMS provider. Traditional MOM products provided a plethora of proprietary features like message creation, asynchronous and synchronous message delivery, message persistence, guaranteed delivery, message prioritization, message broadcasting, etc. JMS provides the common features provided by all the traditional MOM vendors. The various messaging features provided by JMS include: