JSP™ and XML Integrating XML and Web Services in Your JSP™ Application

Book Description

The first Internet revolution was all about delivering information to people. We are now in the second revolution, which focuses on delivering information to systems. XML is the tool that makes this new revolution a reality, and Web services are the methods by which businesses will drive system-to-system communication. JSP(TM) and XML takes you beyond the basics, giving you practical advice and in-depth coverage. In the book, you'll learn the technologies and techniques needed to create your own Web services for use in JSP applications. Written by programmers for programmers, the book will help you successfully utilize these exciting technologies with minimal hassle and maximum speed.

In JSP™ and XML you will:

  • Learn how to use XML, XSLT, and XPath in your JSP site

  • Program SAX to speed up your XML document processing

  • Understand DOM to learn the W3C standard method of working with XML

  • Coordinate cross-browser client-side XML utilization

  • Understand the Web services alphabet

  • Learn how to leverage Web services to simplify access to your data

  • Learn how SOAP, WSDL, and UDDI integrate into Web Services

  • Use JDOM and dom4J to easily work with XML files

  • Design a balanced JSP site using XML

  • Expand your knowledge of JSP to add new functionality to your Web pages

  • Learn how to practically apply Servlet filters and listeners to a Web site

  • Build dynamic JSP pages that can self- modify, making sites easier to maintain

  • Understand how the new JSP XML syntax works

  • Review the basics of database access within JSP

  • Learn JSP tag library design and how tag libraries simplify using XML and Web Services

  • Table of Contents

    1. Copyright
    2. About the Authors
    3. Acknowledgments
    4. Introduction
    5. Data, XML, and Web Services Introduction
      1. Integrating JSP and Data
        1. Using JSP with a Database
        2. Other Considerations
        3. Basic Design Concepts
        4. Summary
      2. Introduction to XML/XSL
        1. What Is XML?
        2. Rules of XML
        3. On to Using XML
        4. XSL
        5. Summary
      3. Understanding Web Services
        1. What Is a Web Service?
        2. Crystal Ball Readings
        3. The ABCs of Web Services
        4. How to Use a Web Service
        5. Summary
    6. Integrating JSP and XML
      1. A Quick Start to JSP and XML Together
        1. The Relationship Between XML and JSP
        2. Java XML/XSL APIs
        3. Summary
      2. Using DOM
        1. What Is the DOM?
        2. Nodes and Tree Structure
        3. Programming with DOM
        4. JDOM, dom4j, and Deferred DOM
        5. Summary
      3. Programming SAX
        1. What Is SAX?
        2. The Workings of SAX
        3. Summary
      4. Successfully Using JSP and XML in an Application
        1. Using a Java Representation of an XML Document
        2. Why Not Just Use SAX or DOM?
        3. Installing JDOM and dom4j
        4. Why Both JDOM and dom4j?
        5. Common Ways to Use XML
        6. Using a Database with XML
        7. Pulling in XML Files
        8. Summary
      5. Integrating JSP and Web Services
        1. Thinking in JSP and Web Services
        2. Integrating a Web Service into a JSP Page
        3. When Should You Build Your Own Web Service?
        4. Building a Corporate Web Service
        5. Apache SOAP Help
        6. Summary
      6. Advanced JSP and XML Techniques
        1. Accessing Web Services from a Browser
        2. Handling Large XML Documents
        3. Handling Special Characters and Encoding
        4. Using XML Tag Libraries
        5. Summary
    7. Building JSP Sites to Use XML
      1. Using XSL/JSP in Web Site Design
        1. Handling XML Files Directly
        2. Building an XML Servlet Handler
        3. Summary
      2. Using XML in Reporting Systems
        1. Architecture of Reporting Systems
        2. When to Use XML with Reports
        3. Data Source for Reports
        4. ResultSet to XML
        5. Bringing It All Together
        6. The Sorting Table Stylesheet
        7. The Cross Tab Stylesheet
        8. Summary
      3. Advanced XML in Reporting Systems
        1. Multiple-Page Reports
        2. Reports on Data with One-to-Many Relationships
        3. Real-World Reporting Systems
        4. Well-Formed Documents Revisited
        5. Summary
      4. Browser Considerations with XML
        1. Client-Side XML and Browser Support
        2. Client-Side JavaScript and XML
        3. Client-Side Transformations and XML
        4. Summary
      5. Building a Web Service
        1. Designing a Web Service
        2. Building the Web Service
        3. Creating a WSDL File
        4. Registering Within UDDI
        5. Using Java to Access a WSDL Document
        6. Summary
      6. Advanced Application Design
        1. Dynamic JSP
        2. SOAP Server Security Concerns
        3. Quick Takes
        4. Summary
    8. Appendixes
      1. Setting Up
        1. Installing the JSP Environment
        2. NetBeans
        3. The MySQL Database Server
        4. Summary
      2. Introduction to JSP and How Things Work
        1. JSP Basics
        2. JSP Actions, Directives, and Implicit Objects
        3. A More Robust JSP Example
        4. Additional Information About JSP
        5. Summary
      3. Tag Library
        1. Tag Library Overview
        2. What Is a Tag Library?
        3. The Six Steps to Building Tag Libraries
        4. Tag Library Concepts
        5. Building a Tag Library
        6. General Notes
        7. Summary
      4. XSL Reference
        1. XSLT and XPath
        2. Reference
    9. Index

    Product Information

    • Title: JSP™ and XML Integrating XML and Web Services in Your JSP™ Application
    • Author(s): Casey Kochmer, Erica Frandsen
    • Release date: March 2002
    • Publisher(s): Addison-Wesley Professional
    • ISBN: 0672323540