J2EE Web Services (Paperback)
暫譯: J2EE 網路服務 (平裝本)
Richard Monson-Haefel
- 出版商: Addison Wesley
- 出版日期: 2003-10-30
- 售價: $2,750
- 貴賓價: 9.5 折 $2,613
- 語言: 英文
- 頁數: 928
- 裝訂: Paperback
- ISBN: 0321146182
- ISBN-13: 9780321146182
-
相關分類:
Java 程式語言、Java 相關技術
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$980$774 -
$880$695 -
$1,920$1,824 -
$780$741 -
$590$466 -
$720$569 -
$1,350$1,283 -
$750$638 -
$560$476 -
$2,370$2,252 -
$750$593 -
$780$616 -
$450$383 -
$490$417 -
$490$382 -
$780$616 -
$675LPIC 1 Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102 (Paperback)
-
$650$553 -
$650$507 -
$620$527 -
$880$748 -
$880$695 -
$780$663 -
$650$507 -
$720$569
相關主題
商品描述
"This is the best—and most complete—description of J2EE Web services that
I've seen. If you're a Java developer, you need this book."
—David Chappell,
Chappell & Associates
Web services are revolutionizing the way enterprises conduct business, as they allow disparate applications to communicate and exchange business data. Now, Java 2, Enterprise Edition (J2EE™) delivers a complete Web services platform. But how do you make sense of the sea of acronyms in this emerging area? Richard Monson-Haefel comes to the rescue with this essential guide for Java developers who need to understand J2EE APIs for Web services and the Web services standards.
J2EE™ Web Services is a comprehensive guide to developing and deploying Web services using J2EE technology. Concentrating on standards sanctioned by the Web Services Interoperability Organization (WS-I) for maximum interoperability, the author delves into Web-service standards and the J2EE 1.4 Web-service APIs and components with clear and engaging discussions.
Key topics covered include:
XML (eXtensible Markup Language) and XML Schema SOAP (Simple Object Access Protocol) WSDL (Web Services Description Language) UDDI (Universal Description, Discovery, and Integration) JAX-RPC (Java API for XML-based RPC) SAAJ (SOAP with Attachments API for Java) JAXR (Java API for XML Registries) JAXP (Java API for XML Processing) The appendices complement this wealth of information with coverage of XML regular expressions, Base 64 encoding, DTDs (document type definitions), SOAP Messages with Attachments (SwA), RCP/Encoded SOAP messaging, and references to other resources. In short, this accessible reference will give Java developers the tools they need to use J2EE technologies and APIs to integrate both enterprise applications and Web-based applications.
Table of Contents
Preface.
Are Web Services Important?
What Do I Need to Know to Read This Book?
What Does This Book Cover?
How Is This Book Organized?
What Doesn't This Book Cover?
Acknowledgments.
1. An Overview of J2EE 1.4 Web Services.
The J2EE Platform.
The Technologies of Web Services.
The J2EE Web Service APIs.
Wrapping Up.I. XML.
2. XML Basics.
XML Primer.
XML Namespaces.
Wrapping Up.3. The W3C XML schema language.
XML Schema Basics.
Advanced XML Schema.
Wrapping Up.II. SOAP AND WSDL.
4. SOAP.
The Basic Structure of SOAP.
SOAP Namespaces.
SOAP Headers.
The SOAP Body.
SOAP Messaging Modes.
SOAP Faults.
SOAP over HTTP.
Wrapping Up.5. WSDL.
The Basic Structure of WSDL.
WSDL Declarations: The definitions, types, and import Elements.
The WSDL Abstract Interface: The message, portType, and operation Elements.
WSDL Messaging Exchange Patterns.
WSDL Implementation: The binding Element.
WSDL Implementation: The service and port Elements.
WS-I Conformance Claims.
Wrapping Up.III. UDDI.
6. The UDDI Data Structures.
The businessEntity Structure.
The businessService and bindingTemplate Structures.
The tModel Structure.
The publisherAssertion Structure.
UUID Keys.
WS-I Conformance Claims.
Wrapping Up.7. The UDDI Inquiry API.
General Information about UDDI SOAP Messaging.
The Inquiry Operations.
Wrapping Up.8. The UDDI Publishing API.
Operation Definitions and Payloads.
Fault Messages.
Wrapping Up.IV. JAX-RPC.
9. JAX-RPC Overview.
The Server-Side Programming Models.
The Client-Side Programming Models.
Other JAX-RPC Topics Covered.
SAAJ
Wrapping Up.10. JAX-RPC Service Endpoints.
A Simple JSE Example.
The JSE Runtime Environment.
Multi-threading and JSEs.
Wrapping Up.11. JAX-RPC EJB Endpoints.
An Enterprise JavaBeans Primer.
Enterprise JavaBeans Web Services.
Wrapping Up.12. JAX-RPC Client APIs.
Generated Stubs.
Dynamic Proxies.
DII.
Wrapping Up.13. SAAJ.
A Simple SAAJ Example.
Creating a SOAP Message.
Working with SOAP Documents.
Working with SOAP Faults.
Sending SOAP Messages with SAAJ.
SAAJ 1.2 and DOM 2.
Wrapping Up.14. Message Handlers.
A Simple Example.
Handler Chains and Order of Processing.
The Handler Runtime Environment.
Wrapping Up.15. Mapping Java to WSDL and XML.
Mapping WSDL to Java.
Mapping XML Schema to Java.
Holders.
Faults and Java Exceptions.
Wrapping Up.V. JAXR.
16. Getting Started with JAXR.
Using a UDDI Test Registry.
Connecting to a UDDI Registry.
Using the RegistryService and BusinessLifeCycleManager.
The BulkResponse Type.
Exceptions.
Wrapping Up.17. The JAXR Business Objects.
The RegistryObject Interface.
The Organization Information Object.
Wrapping Up.18. The JAXR Technical Objects.
The Service and ServiceBinding Information Objects.
The Concept Information Object.
The SpecificationLink Information Object.
The Association Information Object.
Predefined Enumerations.
Wrapping Up.19. The JAXR Inquiry and Publishing APIs.
Mapping JAXR to the UDDI Inquiry API.
Mapping JAXR to the UDDI Publishing API.
Wrapping Up.VI. JAXP.
20. SAX2.
Parsing with SAX: XMLReaderFactory and XMLReader.
The ContentHandler and DefaultHandler Interfaces.
Validating with W3C XML Schema.
Wrapping Up.21. DOM 2.
Parsing with DOM: DocumentBuilderFactory and DocumentBuilder.
Nodes.
Building a DOM Document.
Copying Nodes.
Wrapping Up.VII. DEPLOYMENT.
22. J2EE Deployment.
Overview of the J2EE Deployment Process.
J2EE Web Services Deployment.
Deploying JSEs.
Deploying EJB Endpoints.
Service References.
Wrapping Up.23. Web Service Descriptors.
The wsdl-file and wsdl-port Elements.
The port-component-name Element.
The service-endpoint-interface Element.
The service-impl-bean Element.
The jaxrpc-mapping-file Element.
The handler Element.
Wrapping Up.24. JAX-RPC Mapping Files.
Conditions for a Lightweight JAX-RPC Mapping File.
A Lightweight Example.
A Heavyweight Example.
Anatomy of a Mapping File.
Wrapping Up.VIII. INTRODUCTION.
Appendix A. XML DTDs.Appendix B. XML Schema Regular Expressions.
Character Sets.
Quantifiers.
Other Meta-characters.
Real-World Examples.Appendix C. Base64 Encoding.Appendix D. SOAP RPC/Encoded.
The soap:encodingStyle Attribute.
The Operation Structs.
Simple Types.
Complex Types.
Array Types.
References.
Wrapping Up.Appendix E. SOAP Messages with Attachments.
Understanding MIME.
Using MIME with SOAP.
Wrapping Up.Appendix F. SAAJ Attachments.
The Java Activation Framework.
SAAJ and JAF: AttachmentPart.
The SOAPPart.
The SOAPEnvelope.
Wrapping Up.Appendix G. JAX-RPC and SwA.
JAF Revisited: DataContentHandler and DataSource Types.
A Simple Example.
Mapping MIME Types to Java.
Using DataHandler and DataSource Types.
Wrapping Up.Appendix H. Using JAX-RPC DII without a WSDL Document.Bibliography.Index.
商品描述(中文翻譯)
「這是我見過的最好的,也是最完整的 J2EE Web 服務描述。如果你是 Java 開發者,你需要這本書。」—David Chappell, Chappell & Associates
Web 服務正在徹底改變企業的商業運作方式,因為它們允許不同的應用程式之間進行通信和交換商業數據。現在,Java 2, Enterprise Edition (J2EE™) 提供了一個完整的 Web 服務平台。但在這個新興領域中,如何理解這一片縮寫的海洋呢?Richard Monson-Haefel 為需要了解 J2EE Web 服務 API 和 Web 服務標準的 Java 開發者提供了這本必備指南。
J2EE™ Web Services 是一本全面的指南,介紹如何使用 J2EE 技術開發和部署 Web 服務。作者專注於 Web Services Interoperability Organization (WS-I) 認可的標準,以實現最大的互操作性,深入探討 Web 服務標準以及 J2EE 1.4 Web 服務 API 和組件,並進行清晰而引人入勝的討論。
主要涵蓋的主題包括:
- XML (可擴展標記語言) 和 XML Schema
- SOAP (簡單物件存取協定)
- WSDL (Web 服務描述語言)
- UDDI (通用描述、發現和整合)
- JAX-RPC (基於 XML 的 RPC 的 Java API)
- SAAJ (Java 的 SOAP 附件 API)
- JAXR (Java 的 XML 註冊 API)
- JAXP (Java 的 XML 處理 API)
附錄補充了這些豐富的信息,涵蓋了 XML 正則表達式、Base 64 編碼、DTD (文檔類型定義)、帶附件的 SOAP 消息 (SwA)、RCP/編碼的 SOAP 消息以及其他資源的參考。簡而言之,這本易於理解的參考書將為 Java 開發者提供使用 J2EE 技術和 API 整合企業應用程式和基於 Web 的應用程式所需的工具。
目錄
前言
- Web 服務重要嗎?
- 我需要知道什麼才能閱讀這本書?
- 這本書涵蓋了什麼?
- 這本書的組織方式是什麼?
- 這本書不涵蓋什麼?
- 致謝
1. J2EE 1.4 Web 服務概述
- J2EE 平台
- Web 服務的技術
- J2EE Web 服務 API
- 總結
I. XML
2. XML 基礎
- XML 入門
- XML 命名空間
- 總結
3. W3C XML Schema 語言
- XML Schema 基礎
- 進階 XML Schema
- 總結
II. SOAP 和 WSDL
4. SOAP
- SOAP 的基本結構
- SOAP 命名空間
- SOAP 標頭
- SOAP 主體
- SOAP 消息模式
- SOAP 錯誤
- SOAP over HTTP
- 總結
5. WSDL
- WSDL 的基本結構
- WSDL 聲明:定義、類型和導入元素
- WSDL 抽象介面:消息、portType 和操作元素
- WSDL 消息交換模式
- WSDL 實現:綁定元素
- WSDL 實現:服務和端口元素
- WS-I 相容性聲明
- 總結
III. UDDI
6. UDDI 數據結構
- businessEntity 結構
- businessService 和 bindingTemplate 結構
- tModel 結構
- publisherAssertion 結構
- UUID 鍵
- WS-I 相容性聲明
- 總結
7. UDDI 查詢 API
- UDDI SOAP 消息的一般信息
- 查詢操作
- 總結
8. UDDI 發佈 API
- 操作定義和有效負載
- 錯誤消息
- 總結
IV. JAX-RPC
9. JAX-RPC 概述
- 伺服器端編程模型
- 客戶端編程模型
- 其他 JAX-RPC 主題
- SAAJ
- 總結
10. JAX-RPC 服務端點
- 一個簡單的 JSE 範例
- JSE 執行環境
- 多執行緒和 JSE
- 總結
11. JAX-RPC EJB 端點
- 企業 JavaBeans 入門
- 企業 JavaBeans Web 服務
- 總結
12. JAX-RPC 客戶端 API
- 生成的存根
- 動態代理
- DII
- 總結
13. SAAJ
- 一個簡單的 SAAJ 範例
- 創建 SOAP 消息
- 處理 SOAP 文檔
- 處理 SOAP 錯誤
- 使用 SAAJ 發送 SOAP 消息
- SAAJ 1.2 和 DOM 2
- 總結
14. 消息處理器
- 一個簡單的範例
- 處理器鏈和處理順序
- 處理器執行環境
- 總結
15. 將 Java 映射到 WSDL 和 XML
- 將 WSDL 映射到 Java
- 將 XML Schema 映射到 Java
- 持有者
- 錯誤和 Java 異常
- 總結
V. JAXR
16. 開始使用 JAXR
- 使用 UDDI 測試註冊中心
- 連接到 UDDI 註冊中心
- 使用 RegistryService 和 BusinessLifeCycleManager
- BulkResponse 類型
- 異常
- 總結
17. JAXR 商業對象
- RegistryObject 介面
- 組織信息對象
- 總結
18. JAXR 技術對象
- 服務和 ServiceBinding 信息對象
- 概念信息對象
- 規範鏈接信息對象
- 關聯信息對象
- 預定義枚舉
- 總結
19. JAXR 查詢和發佈 API
- 將 JAXR 映射到 UDDI 查詢 API
- 將 JAXR 映射到 UDDI 發佈 API
- 總結
VI. JAXP
20. SAX2
- 使用 SAX 解析:XMLReaderFactory 和 XMLReader