Java message service
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 Serviceshows 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.
24 pages matching asynchronous in this book
Results 1-3 of 24
What people are saying - Write a review
We haven't found any reviews in the usual places.
Understanding the Messaging Paradigm
Developing a Simple Example
Anatomy of a JMS Message
10 other sections not shown
Other editions - View all
acknowledgment administered objects administration architecture asynchronous autoBuy Buy Order byte BytesMessage Chapter CORBA created dealDesc delivered delivery destination durable subscriptions Enterprise JavaBeans enterprise messaging enterprise messaging systems example FioranoMQ firewall float guaranteed messaging header Hot Deals implemented InitialContext IP multicast itemDesc J2EE Java Message Service JDBC JMS client JMS consumer JMS messaging JMS provider JMSCorrelationID JMSMessageID JMSReplyTo JNDI MapMessage Message message message producer message selector message server message types message-driven bean MessageFormatException MessageListener MessageNotWriteableException messaging model messaging systems MQSeries mutator methods newPrice null oldPrice onMessage password payload Persistent messages point-to-point println private void properties protocol pub/sub public int public interface public String public void publish-and-subscribe publisher pubSession QueueBrowser QueueSender QueueSession receive messages redelivered Retailer sage session SonicMQ StreamMessage String name strmMsg subscriber temporary topic TextMessage throws JMSException tion TopicConnection TopicConnectionFactory TopicPublisher TopicSession TopicSubscriber transaction two-phase commit usemame username vendor Wholesaler