Java & XML, 2/e: Solutions to Real-World Problems (Paperback)
暫譯: Java 與 XML, 第2版:解決現實世界問題的方案 (平裝本)

Brett McLaughlin

  • 出版商: O'Reilly
  • 出版日期: 2001-09-01
  • 定價: $1,350
  • 售價: 3.0$399
  • 語言: 英文
  • 頁數: 550
  • 裝訂: Paperback
  • ISBN: 0596001975
  • ISBN-13: 9780596001971
  • 相關分類: Java 程式語言XML
  • 立即出貨(限量)

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

相關主題

商品描述

While the XML "buzz" still dominates talk among Internet developers, the critical need is for information that cuts through the hype and lets Java programmers put XML to work. Java & XML shows how to use the APIs, tools, and tricks of XML to build real-world applications, with the end result that both the data and the code are portable.

This second edition of Java & XML adds chapters on Advanced SAX and Advanced DOM, new chapters on SOAP and data binding, and new examples throughout. A concise chapter on XML basics introduces concepts, and the rest of the book focuses on using XML from your Java applications. Java developers who need to work with XML, or think that they will in the future--as well as developers involved in the new peer-to-peer movement, messaging, or web services--will find the new Java & XML a constant companion.

This book covers:

  • The basics of XML, including DTDs, namespaces, XML Schema, XPath, and XSL
  • The SAX API, including all handlers, the SAX 2 extensions, filters, and writers
  • The DOM API, including DOM Level 2, Level 3, and the Traversal, Range, CSS, Events, and HTML modules.
  • The JDOM API, including the core, a look at XPath support, and JDOM as a JSR
  • Using web publishing frameworks like Apache Cocoon
  • Developing applications with XML-RPC
  • Using SOAP and UDDI for web services
  • Data Binding, using both DTDs and XML Schema for constraints
  • Building business-to-business applications with XML
  • Building information channels with RSS and dynamic content with XSP



Includes a quick reference on SAX 2.0, DOM Level 2, and JDOM.

Table of Contents

1. Introduction
     XML Matters
     What's Important?
     The Essentials
     What's Next?

2. Nuts and Bolts
     The Basics
     Constraints
     Transformations
     And More-
     What's Next?

3. SAX
     Getting Prepared
     SAX Readers
     Content Handlers
     Error Handlers
     Gotcha!
     What's Next?

4. Advanced SAX
     Properties and Features
     More Handlers
     Filters and Writers
     Even More Handlers
     Gotcha!
     What's Next?

5. DOM
     The Document Object Model
     Serialization
     Mutability
     Gotcha!
     What's Next?

6. Advanced DOM
     Changes
     Namespaces
     DOM Level 2 Modules
     DOM Level 3
     Gotcha!
     What's Next?

7. JDOM
     The Basics
     PropsToXML
     XMLProperties
     Is JDOM a Standard?
     Gotcha!
     What's Next?

8. Advanced JDOM
     Helpful JDOM Internals
     JDOM and Factories
     Wrappers and Decorators
     Gotcha!
     What's Next?

9. JAXP
     API or Abstraction
     JAXP 1.0
     JAXP 1.1
     Gotcha!
     What's Next?

10. Web Publishing Frameworks
     Selecting a Framework
     Installation
     Using a Publishing Framework
     XSP
     Cocoon 2.0 and Beyond
     What's Next?

11. XML-RPC
     RPC Versus RMI
     Saying Hello
     Putting the Load on the Server
     The Real World
     What's Next?

12. SOAP
     Starting Out
     Setting Up
     Getting Dirty
     Going Further
     What's Next?

13. Web Services
     Web Services
     UDDI
     WSDL
     Putting It All Together
     What's Next?

14. Content Syndication
     The Foobar Public Library
     mytechbooks.com
     Push Versus Pull
     What's Next?

15. Data Binding
     First Principles
     Castor
     Zeus
     JAXB
     What's Next?

16. Looking Forward
     XLink
     XPointer
     XML Schema Bindings
     And the Rest. . .
     What's Next?

A. API Reference

B. SAX 2.0 Features and Properties

Index

商品描述(中文翻譯)

雖然 XML 的「熱潮」仍然主導著網路開發者的討論,但關鍵的需求是提供能夠穿透這些炒作的信息,讓 Java 程式設計師能夠將 XML 實際應用於工作中。《Java & XML》展示了如何使用 XML 的 API、工具和技巧來構建實際應用,最終使得數據和代碼都具備可攜性。

這本《Java & XML》的第二版新增了關於進階 SAX 和進階 DOM 的章節,還有關於 SOAP 和數據綁定的新章節,以及全書各處的新範例。一個簡明的 XML 基礎章節介紹了概念,其餘部分則專注於如何在 Java 應用中使用 XML。需要處理 XML 的 Java 開發者,或認為未來會需要的開發者——以及參與新對等網路運動、消息傳遞或網路服務的開發者——都會發現這本新書《Java & XML》是他們的常伴之物。

本書涵蓋的內容包括:
- XML 的基礎知識,包括 DTD、命名空間、XML Schema、XPath 和 XSL
- SAX API,包括所有處理器、SAX 2 擴展、過濾器和寫入器
- DOM API,包括 DOM Level 2、Level 3,以及遍歷、範圍、CSS、事件和 HTML 模組
- JDOM API,包括核心、XPath 支援的概述,以及 JDOM 作為 JSR
- 使用像 Apache Cocoon 的網頁發布框架
- 使用 XML-RPC 開發應用
- 使用 SOAP 和 UDDI 進行網路服務
- 數據綁定,使用 DTD 和 XML Schema 進行約束
- 使用 XML 構建企業對企業的應用
- 使用 RSS 構建信息通道和使用 XSP 創建動態內容

包括 SAX 2.0、DOM Level 2 和 JDOM 的快速參考。

目錄:
1. 介紹
- XML 的重要性
- 重要的是什麼?
- 基本要素
- 下一步是什麼?

2. 基本概念
- 基礎知識
- 約束
- 轉換
- 其他
- 下一步是什麼?

3. SAX
- 準備工作
- SAX 讀取器
- 內容處理器
- 錯誤處理器
- 注意事項
- 下一步是什麼?

4. 進階 SAX
- 屬性和特性
- 更多處理器
- 過濾器和寫入器
- 更多處理器
- 注意事項
- 下一步是什麼?

5. DOM
- 文檔物件模型
- 序列化
- 可變性
- 注意事項
- 下一步是什麼?

6. 進階 DOM
- 變更
- 命名空間
- DOM Level 2 模組
- DOM Level 3
- 注意事項
- 下一步是什麼?

7. JDOM
- 基礎知識
- PropsToXML
- XMLProperties
- JDOM 是標準嗎?
- 注意事項
- 下一步是什麼?

8. 進階 JDOM
- 有用的 JDOM 內部
- JDOM 和工廠
- 包裝器和裝飾器
- 注意事項
- 下一步是什麼?

9. JAXP
- API 或抽象
- JAXP 1.0
- JAXP 1.1
- 注意事項
- 下一步是什麼?

10. 網頁發布框架
- 選擇框架
- 安裝
- 使用發布框架
- XSP
- Cocoon 2.0 及以後
- 下一步是什麼?

11. XML-RPC
- RPC 與 RMI
- 打招呼
- 將負載放在伺服器上
- 真實世界
- 下一步是什麼?

12. SOAP
- 開始
- 設定
- 實作
- 更深入
- 下一步是什麼?

13. 網路服務
- 網路服務
- UDDI
- WSDL
- 整合所有內容
- 下一步是什麼?

14. 內容聯播
- Foobar 公共圖書館
- mytechbooks.com
- 推送與拉取
- 下一步是什麼?

15. 數據綁定
- 基本原則
- Castor
- Zeus
- JAXB
- 下一步是什麼?

16. 展望未來
- XLink
- XPointer
- XML Schema 綁定
- 其他
- 下一步是什麼?

A. API 參考

B. SAX 2.0 特性和屬性

索引