Java & XML, 2/e: Solutions to Real-World Problems (Paperback)

Brett McLaughlin

  • 出版商: O'Reilly Media
  • 出版日期: 2001-09-01
  • 售價: $399
  • 語言: 英文
  • 頁數: 550
  • 裝訂: Paperback
  • ISBN: 0596001975
  • ISBN-13: 9780596001971




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
     And More-
     What's Next?

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

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

5. DOM
     The Document Object Model
     What's Next?

6. Advanced DOM
     DOM Level 2 Modules
     DOM Level 3
     What's Next?

     The Basics
     Is JDOM a Standard?
     What's Next?

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

     API or Abstraction
     JAXP 1.0
     JAXP 1.1
     What's Next?

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

     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
     Putting It All Together
     What's Next?

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

15. Data Binding
     First Principles
     What's Next?

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

A. API Reference

B. SAX 2.0 Features and Properties