Amazon.co.uk Review
Aimed at the more experienced Java developer who needs to work with messaging on the enterprise,
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 into 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 do's 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, for the more experienced reader this code will be 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, exception 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
Product Description
Java Message Service (JMS) represents a powerful solution for communicating between Java enterprise applications, software components, and legacy systems. In this authoritative tutorial and comprehensive reference, Sun's Java Message Service architects offer start-to-finish coverage of peer-to-peer JMS development with Java 2 Platform, Enterprise Edition, Release 1.3. JMS is now fully integrated into the J2EE platform -- and this is the first book to show how to make the most of JMS in the context of sophisticated J2EE application development. The authors begin by introducing the JMS API to developers who are new to it. Then, with the help of extensive programming examples, they demonstrate key JMS techniques for enabling applications to create, send, receive, and read messages, and for integrating with existing back office and enterprise systems. Coverage includes: consuming messages asynchronously with message-driven beans; producing messages from application clients; accessing entity beans from message-driven bean; producing messages from session beans; and much more. For all Java developers building applications that must communicate and share information.
See all Product Description