Java Reference @ Java Programming
Programming Network : The Programmer Store & Resources
Java(TM) Message Service API Tutorial and Reference: Messaging for the J2EE(TM) Platform
by Mark Hapner, Rich Burridge, Rahul Sharma, Joseph Fialli, Kim Haase
Paperback: 448 pages
Dimensions (in inches): 0.98 x 8.84 x 7.70
Publisher: Addison Wesley Professional
ISBN: 0201784726; 1st edition (February 26, 2002)
Amazon.com: Aimed at the more experienced Java developer who needs to work with enterprise messaging, Java Message Service API Tutorial and Reference delivers starter code and a complete reference to all JMS classes that you will need to know to work effectively with this powerful feature of the J2EE platform.
The no-nonsense, just-the-facts approach of this dual tutorial/reference is perhaps its salient feature. It explains the basics of asynchronous messaging and its advantages for robust enterprise-level applications before digging right in to JMS. The authors do a good job at explaining the difference between point-to-point and publish/subscribe models of message delivery. They also give a laundry list of areas to look at to ensure reliability and robustness in JMS systems, including looking at dos and don'ts for acknowledgement, message priority, and durability.
The real focus early in the book is on the simple, but effective, sample code used to illustrate the basic APIs with short, complete examples. Though somewhat demanding, this code will be for the more experienced reader all you need to get going with JMS. There are examples of both point-to-point and publish-subscribe APIs in action. Importantly, because working with JMS can be tricky, the authors don't skimp on the practical details of compiling, deploying, and running each application. Other examples look at JMS used with Enterprise JavaBeans, including the new EJB 2.0 message bean, plus how to use JMS correctly with session and entity beans. (This can also be tricky, and the authors go through the steps of packaging up and deploying bean JAR files, as well.)
More than half of this book is an alphabetical listing of the 46 classes available in JMS. Each class is explained, along with options and tips for using the class where appropriate. There is full coverage of basic message and exception classes and the classes you need to use for basic point-to-point and publish/subscribe processing. Obviously, this material is a must for those who prefer a printed reference instead of online help. With a quick-start tutorial and concise (yet complete) reference to all JMS classes, this title will serve a useful function for the working enterprise Java developer. --Richard Dragan
Topics covered: Introduction to messaging, the Java Message Service (JMS) API architecture, point-to-point and publish/subscribe messaging domains described, essential JMS programming APIs (connections, sessions, message producers and consumers), the structure of messages, simple point-to-point and publish/subscribe examples (including guide to deployment and execution), JMS used with multiple systems (including J2EE and non-J2EE messaging interoperability), JMS reliability mechanisms (acknowledgement, persistence, priority levels, durable subscriptions, local transactions), building J2EE clients used with message, session, and entity beans (including deployment and execution tips), a sample using multiple J2EE servers, reference to all JMS APIs: including topic and message classes, exception classes, queue classes, sessions and connections, and appendix with JMS client examples.
From Book News, Inc.: This introduction to the Java Message Service API provides instruction on its use in building applications to create, send, receive, and read messages. It describes fundamental JMS concepts and covers the major aspects of creating and running JMS applications. Each topic is supported with JMS program examples. A glossary is included. The authorial team comprises four engineers and a technical writer.Book News, Inc.®, Portland, OR
From the Back Cover: Java Message Service API Tutorial and Reference provides a clear and complete introduction to the Java™ Message Service (JMS) API. This book illustrates how to use the JMS API to build applications that create, send, receive, and read messages. Beginning with comprehensive descriptions of fundamental JMS concepts and building blocks, the coverage extends to all aspects of running and creating JMS applications. Each topic area is supported by relevant and well-crafted JMS program examples that demonstrate how to put the technology to work.The JMS API is an integral part of the Java 2 Platform, Enterprise Edition (J2EE™ platform). Developed by Sun Microsystems in close cooperation with enterprise messaging partners, JMS works together with other technologies to provide reliable, asynchronous communication between components in a distributed computing environment. It delivers a new, powerful tool for enterprise messaging--the cornerstone of today's enterprise applications.
You will find in-depth coverage on how to:
• Create and run JMS client programs
• Use the JMS API within the J2EE platform
• Consume messages asynchronously with a message-driven bean
• Produce messages from an application client and from a session bean
• Access an entity bean from a message-driven bean
• Create applications for the J2EE platform that use the JMS
• API to Consume messages
• Produce messages
• Access an entity bean
• Bytes Message to Transaction
• RolledBackException, a useful alphabetical reference provides complete information on all facets of the JMS API.
Additionally, the tutorial example programs are downloadable from the Sun Web site, so that you can adapt them to implementations of the JMS API and the J2EE platform. Written by an expert team, the book offers an unparalleled technical understanding of JMS and its integration into the J2EE platform. Its thorough and practical coverage of JMS makes it easy for developers working in a distributed Java technology environment, and those familiar with the J2EE platform, to efficiently integrate the JMS API. 0201784726B02212002
About the Author: Mark Hapner is Lead Architect for the Java 2 Platform, Enterprise Edition. He participated in the development of the JDBC API, wrote the Java Message Service specification, and co-authored the Enterprise JavaBeans specification. Rahul Sharma is the lead architect of the J2EE Connector architecture and a Senior Staff Engineer at the Java Software division of Sun Microsystems, Inc. Presently, he is the lead architect of the JAX-RPC (Java APIs for XML based RPC) 1.0. Rahul has been with Sun for the last five years. Rahul holds a computer engineering degree from the Delhi University, India, and an MBA from the Haas School of Business, UC Berkeley. Kim Haase is a staff writer with Sun Microsystems, where she documents the J2EE platform. In previous positions she has documented compilers, debuggers, and floating-point programming. She currently writes about the Java Message Service and J2EE SDK tools.
Excerpted from Java(TM) Message Service API Tutorial and Reference by Mark Hapner, et al.Copyright © 2001. Reprinted by permission. All rights reserved.
The Java Message Service Tutorial and Reference provides an introduction to the Java Message Service (JMS) API for new users. It has the following goals:
To introduce the JMS API to new users, with simple JMS client program examples
To show how to use the JMS API within the Java 2 Platform, Enterprise Edition (J2EE™), with additional simple examples showing:
• How to consume messages asynchronously with a message-driven bean
• How to produce messages from an application client
• How to produce messages from a session bean
• How to access an entity bean from a message-driven bean
• How to produce and consume messages on more than one system
To provide a full reference to the JMS API for JMS client programmers
The audience for this book is programmers who expect to write JMS applications, especially those who plan to write J2EE applications that use the JMS API. We assume that you are familiar with the Java programming language and that you have some experience with earlier versions of the J2EE platform. In order to run the tutorial examples, we recommend that you download and install the J2EE Software Development Kit, version 1.3 or above, which is available at no charge and runs on Solaris, Linux, and Windows NT/2000 systems. See java.sun/j2ee/ for more information and a link to the J2EE SDK.
You should first install the required version of the Java 2 SDK, Standard Edition, if it is not already installed. You can download the examples in this book, along with an HTML version of the tutorial, from the following location: java.sun/products/jms/tutorial/ The downloaded examples are placed in a directory named jms_tutorial/examples (on Unix systems) or jms_tutorial\examples (on Windows systems). You may adapt the examples to other implementations of the JMS API and the J2EE platform, but you will need to study your vendor's documentation to determine how to modify the parts of the examples and instructions that deal with external resources, such as JMS administered objects (connection factories and destinations) and databases. For the J2EE applications, you will also need to adapt the instructions to use your vendor's packaging and deployment tools.
Part Two, the reference, is based upon the Javadoc for JMS version 1.0.2b. The reference describes all parts of the API that apply to JMS application programmers. It does not describe the methods and interfaces that are used only for implementing a JMS provider. This book uses a few simple documentation conventions: Monospace font is used for code, which includes what would be typed in a source code file or on the command line; URLs; file names; keywords; names of classes, interfaces, exceptions, constructors, methods, and fields. Italic code font is used for variables in text, command lines, and method explanations. Italic font is used for introducing new terms, for book titles, and for emphasis. We welcome your comments, questions, and suggestions. Please send them to the following e-mail address:email@example.com Errata for this book and information on other books in the Addison-Wesley Java series will be posted at java.sun/Series 0201784726P11022001
Network Computing Using JMS, April 25, 2002
Reviewer: Wes Boudville from California
A lucid and authoritative description of Java Message Service, from Sun Microsystems, which developed and owns it. JMS is designed for an environment of distributed computers, where applications need to communicate with each other and databases across the network. You can think of JMS as one of the enablers of Sun's longtime slogan "The Network IS The Computer".
JMS is loosely coupled distributed networking, where the sender and receiver do not have to be running at the same time. Plus they do not need to know each other's methods, quite unlike RMI [a tightly coupled technology]. This makes for potentially much greater flexibility in network computing.
The book emphasises this, with detailed examples of source code showing how to use JMS with Enterprise Java Beans, another technology invented by Sun. You can see how to hook JMS to a session bean or an entity bean, and how to combine JMS with several Message Driven Beans. The text is clearly written, with attention paid to how you can run the examples under Microsoft Windows or Unix.
The book also suggests two sequels. It describes using JMS with J2EE, the Java Enterprise Edition, which is the full Java environment. But in a world of PDAs, cell phones and other mobile gadgets, what would be interesting is a description of JMS running under a slimmed down Java environment, like kvm, and how this would scale with the number of devices. A second sequel might be a comparison of JMS with JXTA, another Sun technology for mobile computing. Who know? Perhaps Sun is already working on this!
If you are programming in a distributed computing environment, consider using JMS as an enabling technology, and this book as its indispensible guide.
One of the good books I dearsay !!!, March 3, 2002
Reviewer: dotcomguy_oo7 from India
Covers reasonable amount of JMS. As an SCJA I recommand this book, since you don't have much choices this should do !!
Computer Graphics / Games: Photoshop Wire | CorelDRAW Wire | PC Games
Graphing Calculators | Shop 4 Calculator
© 2017, Programming Network