Java Message Service API Tutorial and Reference: Messaging for the J2EE Platform (Paperback)

Mark Hapner, Rich Burridge, Rahul Sharma, Joseph Fialli, Kim Haase

  • 出版商: Addison Wesley
  • 出版日期: 2000-12-06
  • 定價: $1,650
  • 售價: 9.0$1,485
  • 語言: 英文
  • 頁數: 544
  • 裝訂: Paperback
  • ISBN: 0201784726
  • ISBN-13: 9780201784725
  • 相關分類: Java 程式語言Java 相關技術
  • 立即出貨(限量)

買這商品的人也買了...

商品描述

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

From BytesMessage to TransactionRolledBackException, 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.

Table of Contents

Preface.
Acknowledgments.

 

I. OVERVIEW.

 

 

1. Overview.
2. Basic JMS API Concepts.
3. The JMS API Programming Model.
4. Writing Simple JMS Client Applications.
5. Creating Robust JMS Applications.
6. Using the JMS API in a J2EE Application.
7. A Simple J2EE Application that Uses the JMS API.
8. A J2EE Application that Uses the JMS API with a Session Bean.
9. A J2EE Application that Uses the JMS API with an Entity Bean.
10. An Application Example that Uses Two J2EE Servers.

II. BYTESMESSAGE.


11. BytesMessage.
12. Connection.
13. ConnectionFactory.
14. ConnectionMetaData.
15. DeliveryMode.
16. Destination.
17. ExceptionListener.
18. IllegalStateException.
19. InvalidClientIDException.
20. InvalidDestinationException.
21. InvalidSelectorException.
22. JMSException.
23. JMSSecurityException.
24. MapMessage.
25. Message.
26. MessageConsumer.
27. MessageEOFException.
28. MessageFormatException.
29. MessageListener.
30. MessageNotReadableException.
31. MessageNotWriteableException.
32. MessageProducer.
33. ObjectMessage.
34. Queue.
35. QueueBrowser.
36. QueueConnection.
37. QueueConnectionFactory.
38. QueueReceiver.
39. QueueRequestor.
40. QueueSender.
41. QueueSession.
42. ResourceAllocationException.
43. Session.
44. StreamMessage.
45. TemporaryQueue.
46. TemporaryTopic.
48. Topic.
49. TopicConnection.
50. TopicConnectionFactory.
51. TopicPublisher.
52. TopicRequestor.
53. TopicSession.
54. TopicSubscriber.
55. TransactionInProgressException.
56. TransactionRolledBackException.
Appendix A: JMS Client Examples.
Glossary.
Index

商品描述(中文翻譯)

《Java™ Message Service API 教程與參考手冊》提供了對Java™ Message Service (JMS) API的清晰且完整的介紹。本書說明了如何使用JMS API來建立創建、發送、接收和讀取消息的應用程序。從對基本JMS概念和構建塊的全面描述開始,涵蓋範圍延伸到運行和創建JMS應用程序的所有方面。每個主題區域都有相關且精心製作的JMS程序示例來演示如何將技術應用於實際工作中。

JMS API是Java 2平台企業版(J2EE™平台)的一部分。JMS與其他技術共同工作,為分布式計算環境中的組件之間提供可靠的異步通信。它為企業消息傳遞提供了一個新的強大工具,是當今企業應用程序的基石。

本書詳細介紹了以下內容:

- 創建和運行JMS客戶端程序
- 在J2EE平台內使用JMS API
- 使用消息驅動的bean異步消費消息
- 從應用程序客戶端和會話bean生成消息
- 從消息驅動的bean訪問實體bean
- 為J2EE平台創建使用JMS API的應用程序,包括消費消息、生成消息和訪問實體bean

從BytesMessage到TransactionRolledBackException,一個有用的按字母順序排列的參考提供了有關JMS API的所有方面的完整信息。

此外,教程示例程序可從Sun網站下載,以便您可以將其適應JMS API和J2EE平台的實現。

本書由專家團隊撰寫,提供了對JMS及其與J2EE平台的集成的無與倫比的技術理解。其對JMS的全面且實用的覆蓋使得在分布式Java技術環境中工作的開發人員以及熟悉J2EE平台的人能夠高效地集成JMS API。

目錄:

前言。
致謝。

I. 概述。

1. 概述。
2. 基本JMS API概念。
3. JMS API編程模型。
4. 編寫簡單的JMS客戶端應用程序。
5. 創建強大的JMS應用程序。
6. 在J2EE應用程序中使用JMS API。
7. 使用JMS API的簡單J2EE應用程序。
8. 使用JMS API和會話bean的J2EE應用程序。
9. 使用JMS API和實體bean的J2EE應用程序。
10. 使用兩個J2EE服務器的應用程序示例。

II. BytesMessage。

11. BytesMessage。
12. Connection。
13. ConnectionFactory。
14. ConnectionMetaData。
15. DeliveryMode。
16. Destination。
17. ExceptionListener。
18. IllegalStateException。
19. InvalidClientIDException。
20. InvalidDestinationException。
21. InvalidSelectorException。
22. JMSException。
23. JMSSecurityException。
24. MapMessage。
25. Message。
26. MessageConsumer。
27. MessageEOFException。
28. MessageFormatException。
29. MessageListener。
30. MessageNotReadableException。
31. MessageNotWriteableException。
32. MessageProducer。
33. ObjectMessage。
34. Queue。
35. QueueBrowser。
36. QueueConnection。
37. QueueConnectionFactory。
38. QueueReceiver。
39. QueueRequestor。
40. QueueSender。
41. QueueSession。
42. ResourceAllocationException。