You are previewing XML Development with Java™ 2.
O'Reilly logo
XML Development with Java™ 2

Book Description

XML Development with Java 2 provides the information and techniques a Java developer will need to integrate XML into Java-based applications. This book presents a fast-paced introduction to XML and moves quickly into the areas where XML has the biggest impact on Java Development. The book covers crucial topics such as the XML Documet Object Model (DOM), Using Java and XSL to transform and format XML data, Integrating XML into JavaBeans and EJB development, and using XML with Java Servlets. The authors also cover the impact XML has on Java database access and the way XML works with the Swing classes.

Table of Contents

  1. Copyright
  2. About the Authors
  3. Acknowledgments
  4. Tell Us What You Think!
  5. Introduction
  6. An XML Primer
    1. History of XML
    2. Benefits of XML
    3. Components of XML
    4. Summary
    5. Suggested for Further Study
    6. Further Reading
  7. Parsing XML
    1. Parsing Methodologies
    2. SAX API
    3. The Java API for XML Parsing (JAXP)
    4. Alternative Parsers
    5. Summary
    6. Suggested for Further Study
    7. Further Reading
  8. The Document Object Model (DOM)
    1. Defining the Document Object Model
    2. DOM Core Level I
    3. Creating Document Objects
    4. Node Interface
    5. NodeList and NamedNodeMap
    6. Document Interface
    7. Element Interface
    8. Attr Interface
    9. Additional Interfaces
    10. Creating DOM Elements
    11. DOM Level II
    12. The DOM Core Defined
    13. Implementation Anomalies
    14. Summary
    15. Suggested for Further Study
    16. Further Reading
  9. Advanced XML
    1. Advanced Markup
    2. Namespaces in XML
    3. The XLink Specification
    4. The XPointer Specification
    5. XML Schemas
    6. Summary
    7. Suggested for Further Study
    8. Further Reading
  10. Java and the Extensible Stylesheet Language (XSL)
    1. The XSL Language
    2. The Format of a Stylesheet
    3. Working with the xsl:template
    4. Working with xsl:output
    5. Using XSL Processors
    6. Pattern Matching with match= and select=
    7. Working with Expressions
    8. Precedence for Rules
    9. Advanced XSL
    10. Attribute Value Templates
    11. Formatting Objects
    12. Summary
    13. Suggested for Further Study
    14. Further Reading
  11. Collections and XML
    1. Collection Basics
    2. Using a Collection
    3. Translating a DOM to Other Collections
    4. Custom Collections
    5. Summary
    6. Suggested for Further Study
    7. Further Reading
  12. Swing and XML
    1. Displaying the DOM
    2. The Model-View-Controller Architecture and XML
    3. XML in GUI Construction
    4. Summary
    5. Suggested for Further Study
    6. Further Reading
  13. JavaBeans, EJB, and XML
    1. JavaBeans and XML
    2. Enterprise JavaBeans (EJBs) and XML
    3. JavaBeans
    4. Enterprise JavaBeans
    5. Anatomy of a Simple Entity EJB
    6. EJB Deployment
    7. Summary
    8. Suggested for Further Study
    9. Further Reading
  14. Servlets and XML
    1. Servlet Basics
    2. The Aphorisms Web Site
    3. Generating XML from an HTML Form
    4. Transforming XML to HTML
    5. Summary
    6. Suggested for Further Study
    7. Further Reading
  15. XML and Database Access
    1. Mapping XML to a Relational Database
    2. XML Queries
    3. XML Query Languages
    4. JDBC Refresher
    5. Summary
    6. Further Reading
  16. XML Tools
    1. Editors/Authoring Tools
    2. Parsers/XSL Processors
    3. XML Storage/Servers
    4. XML Tutorials
    5. Web Sites
  17. Index