Book description
XML represents a fundamental change in computing. It allows applications to move away from proprietary file and data formats to a world of open data interchange. XML has become ubiquitous not only because of its range of applications, but also because of its ease of use.
Although XML solves many problems by providing a standard format for data interchange, some challenges remain. In the real world, applications need reliable services to store, retrieve, and manipulate data. These services have traditionally been offered by DB2 for i5/OS.
In this IBM Redbooks publication, we discuss the challenges of representing XML hierarchies in the relational database model. We provide an in-depth explanation of the three most popular approaches to bridge the hierarchy, the relational model dichotomy:
Programmatically process the XML documents and map their hierarchy into a relational database.
Use database middleware to handle the XML parsing and XML-to-relational database mapping.
Use Extensible Stylesheet Language (XSL) Transformation to transform inbound XML documents directly to SQL scripts.
We also share best practices and techniques aimed at streamlining the XML and DB2 for i5/OS integration.
Please note that the additional material referenced in the text is not available from IBM.
Table of contents
- Notices
- Preface
- Part 1: Introduction to DB2 for i5/OS and the scenario
- Chapter 1: Introduction to XML integration with DB2 for i5/OS
- Chapter 2: Scenario overview
- Part 2: Programmatic approach
- Chapter 3: Using SQL to compose XML
- Chapter 4: Using XSL Transformation and SQL
- Chapter 5: Using RPG for XML processing
- Chapter 6: Using SAX and Java to decompose XML
- Chapter 7: Advantages and disadvantages of the programmatic approach
- Part 3: Middleware approach
- Chapter 8: Overview of DB2 XML Extender
- Chapter 9: Performance-related information regarding XML Extender
-
Chapter 10: Shredding methodology
- 10.1: Setting up the development environment
- 10.2: Analyzing the XML document structure and determining the mapping
- 10.3: XSL Transform to insert unique keys for repeating elements
- 10.4: Modifying DTD and XSD to reflect the transformed document
- 10.5: Building the DDL script and adding RI constraints for the keys
- 10.6: Creating tables on the database server
- 10.7: Graphically mapping transformed DTD to relational tables (generating DAD) (1/2)
- 10.7: Graphically mapping transformed DTD to relational tables (generating DAD) (2/2)
- 10.8: Creating the wrapper stored procedure
- 10.9: Deploying the XSL, DAD, Java, and SQL to the integrated file system on the System i machine
- 10.10: Running the deployed application
-
Chapter 11: Composing methodology
- 11.1: Setting up the development environment
- 11.2: Analyzing the database structure and outbound XML hierarchy
- 11.3: Creating the SQL view to project the data
- 11.4: Graphically mapping the relational database to XML (generating DAD)
- 11.5: Creating the wrapper stored procedure
- 11.6: Deploying DAD, SQL script to the integrated file system on the System i machine
- 11.7: Running the deployed application
- Chapter 12: Advantages and disadvantages of the middleware approach
- Part 4: Moving forward
- Chapter 13: A look into the future
- Appendix A: Additional material
- Related publications
- Index (1/2)
- Index (2/2)
- Back cover
Product information
- Title: The Ins and Outs of XML and DB2 for i5/OS
- Author(s):
- Release date: October 2006
- Publisher(s): IBM Redbooks
- ISBN: None
You might also like
book
Special Edition Using Microsoft® Office Access 2003
Special Edition Using Microsoft Office Access 2003 is a comprehensive reference for all the features of …
book
Understanding and Using Q Replication for High Availability Solutions on the IBM z/OS Platform
With ever-increasing workloads on production systems from transaction, batch, online query and reporting applications, the challenges …
book
Microsoft® Office SharePoint® Designer 2007 Step by Step
The smart way to learn Office SharePoint Designer 2007—one step at a time! Work at your …
book
IBM Express Runtime V2.1
Mid-market companies are looking for complete solutions from the solution providers who know their businesses and …