首页  软件  游戏  图书  电影  电视剧

请输入您要查询的图书:

 

图书 Java消息服务(影印版第2版)
内容
编辑推荐

本书深入浅出地讲解了JMS 1.1规范的底层技术、Java类和接口、编程模型及其不同实现等Java消息服务(JMS)和消息传送机制关键技术。通过对支持点对点和发布/订阅“消息传送”的标准API的完全解读以及具体实例,介绍了如何利用“厂商无关”的JMS来解决许多体系结构的面临的挑战。本书适用于掌握Java语言并有业务解决方案开发经验的读者,或者需要学习消息传送技术的读者。

内容推荐

《Java消息服务》第二版,是对标准API的一个彻底详尽的介绍——它支持消息传递,即网络计算机间的关键数据从软件到软件的交换。你将学习到JMS如何帮助你解决许多架构难题,如整合不同的系统和应用程序,增加可扩展性,消除系统瓶颈,支持并行处理,提升灵活性和敏捷性。由于更新了JMS 1.1,第二版还说明了厂商无关的规范将有助于你写基于messaging的应用程序,无论是使用IBM的MQ、Progress软件的SonicMQ、ActiveMQ的,还是其他专有的消息服务。

有了《Java消息服务》,你将可以:

· 使用点对点和出版与订阅消息传递模型建立应用程序

· 使用如事务和持久订阅功能,以使应用程序可靠

· 使用消息驱动的beans在Enterprise JavaBeans(EJB)中实现消息传递

· 使用JMS时结合RESTful应用程序和Spring应用程序框架

消息传递是一个强大的范例,可以更容易地使企业应用程序的不同部分分离。《Java消息服务》第二版将迅速教会你如何运用其背后的关键技术。

目录

Foreword

Preface

1. Messaging Basics

 The Advantages of Messaging

Heterogeneous Integration

Reduce System Bottlenecks

Increase Scalability

Increase End User Productivity

Architecture Flexibility and Agility

 Enterprise Messaging

Centralized Architectures

Decentralized Architectures

Hybrid Architectures

Centralized Architecture As a Model

 Messaging Models

Point-to-Point

Publish-and-Subscribe

 JMS API

Point-to-Point API

Publish-and-Subscribe API

 Real-World Scenarios

Service-Oriented Architecture

Event-Driven Architecture

Heterogeneous Platform Integration

Enterprise Application Integration

Business-to-Business

Geographic Dispersion

Information Broadcasting

Building Dynamic Systems

 RPC Versus Asynchronous Messaging

Tightly Coupled RPC

Enterprise Messaging

2. Developing a Simple Example

 The Chat Application

Getting Started with the Chat Example

Examining the Source Code

Sessions and Threading

3. Anatomy of a JMS Message

 Headers

Automatically Assigned Headers

Developer-Assigned Headers

 Properties

Application-Specific Properties

JMS-Defined Properties

Provider-Specific Properties

 Message Types

Message

TextMessage

ObjectMessage

BytesMessage

StreamMessage

MapMessage

Read-Only Messages

Client-Acknowledged Messages

Interoperability and Portability of Messages

4. Point-to-Point Messaging

 Point-to-Point Overview

When to Use Point-to-Point Messaging

 The QBorrower and QLender Application

Configuring and Running the Application

The QBorrower Class

The QLender Class

 Message Correlation

 Dynamic Versus Administered Queues

 Load Balancing Using Multiple Receivers

 Examining a Queue

5. Publish-and-Subscribe Messaging

 Publish-and-Subscribe Overview

When to Use Publish-and-Subscribe Messaging

 The TBorrower and TLender Application

Configuring and Running the Application

The TLender Class

The TBorrower Class

 Durable Versus Nondurable Subscribers

 Dynamic Versus Administered Subscribers

 Unsubscribing Dynamic Durable Subscribers

 Temporary Topics

6. Message Filtering

 Message Selectors

Identifiers

Literals

Comparison Operators

Arithmetic Operators

 Declaring a Message Selector

 Message Selector Examples

Managing Claims in an HMO

Notification of Certain Bids on Inventory

Priority Handling

Stock Trade Order Auditing

 Not Delivered Semantics

 Design Considerations

7. Guaranteed Messaging and Transactions

 Guaranteed Messaging

Message Autonomy

Store-and-Forward Messaging

Message Acknowledgments and Failure Conditions

 Message Acknowledgments

AUTO_ACKNOWLEDGE

DUPS_OK_ACKNOWLEDGE

CLIENT_ACKNOWLEDGE

 Message Groups and Acknowledgment

Handling Redelivery of Messages in an Application

Message Groups Example

Message Grouping and Multiple Receivers

 Transacted Messages

Creating and Using a JMS Transaction

Transacted Session Example

Distributed Transactions

 Lost Connections

The ExceptionListener Example

Dead Message Queues

8. Java EE and Message-Driven Beans

 Java EE Overview

Enterprise JavaBeans

 Enterprise JavaBeans 3.0 (EJB3) Overview

Simplified Bean Development

Dependency Injection

Simplified Callback Methods

Programmatic Defaults

Interceptors

Java Persistence API

 JMS Resources in Java EE

The JNDI Environment Naming Context (ENC)

 Message-Driven Beans

Concurrent Processing and Scalability

Defining Message-Driven Beans

 Message-Driven Bean Use Cases

Message Facade

Transformation and Routing

9. Spring and JMS

 Spring Messaging Architecture

 JmsTemplate Overview

Send Methods

convertAndSend Methods

receive and receiveSelected Methods

receiveAndConvert Methods

 Connection Factories and JMS Destinations

Using JNDI

Using Native Classes

 Sending Messages

Using the send Method

Using the convertAndSend Method

Using a Nondefault JMS Destination

 Receiving Messages Synchronously

 Message-Driven POJOs

The Spring Message Listener Container

MDP Option 1: Using the MessageListener Interface

MDP Option 2: Using the SessionAwareMessageListener Interface

MDP Option 3: Using the MessageListenerAdapter

Message Conversion Limitations

 The Spring JMS Namespace

[jms:listener-container] Element Properties

[jms:listener] Element Properties

10. Deployment Considerations

 Performance, Scalability, and Reliability

Determining Message Throughput Requirements

Testing the Real-World Scenario

 To Multicast or Not to Multicast

TCP/IP

UDP

IP Multicast

Messaging Over IP Multicast

The Bottom Line

 Security

Authentication

Authorization

Secure Communication

Firewalls and HTTP Tunneling

 Connecting to the Outside World

 Bridging to Other Messaging Systems

11. Messaging Design Considerations

 Internal Versus External Destination

Internal Destination Topology

External Destination Topology

 Request/Reply Messaging Design

 Messaging Design Anti-Patterns

Single-Purpose Queue

Message Priority Overuse

Message Header Misuse

A. The Java Message Service API

B. Message Headers

C. Message Properties

D. Installing and Configuring ActiveMQ

Index

标签
缩略图
书名 Java消息服务(影印版第2版)
副书名
原作名
作者 (美)布朗
译者
编者
绘者
出版社 东南大学出版社
商品编码(ISBN) 9787564119300
开本 16开
页数 305
版次 1
装订 平装
字数 349
出版时间 2010-01-01
首版时间 2010-01-01
印刷时间 2010-01-01
正文语种
读者对象 青年(14-20岁),研究人员,普通成人
适用范围
发行范围 公开发行
发行模式 实体书
首发网站
连载网址
图书大类
图书小类
重量 0.524
CIP核字
中图分类号 TP312
丛书名
印张 20.75
印次 1
出版地 江苏
235
180
15
整理
媒质 图书
用纸 普通纸
是否注音
影印版本 原版
出版商国别 CN
是否套装 单册
著作权合同登记号 图字10-2009-245号
版权提供者 O'Reilly Media,Inc.
定价
印数 1600
出品方
作品荣誉
主角
配角
其他角色
一句话简介
立意
作品视角
所属系列
文章进度
内容简介
作者简介
目录
文摘
安全警示 适度休息有益身心健康,请勿长期沉迷于阅读小说。
随便看

 

兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。

 

Copyright © 2004-2025 xlantai.com All Rights Reserved
更新时间:2025/5/8 5:11:32