Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Integrate XML into your enterprise using WebSphere Federation Server Version 9.5

Ioana Ursu (ursu@us.ibm.com), Advisory Software Engineer, IBM
Author photo
Ioana Ursu is an Advisory Software Engineer in Silicon Valley Laboratory in San Jose, California. She joined IBM Almaden in 1998 working for the Garlic research project. Since 1999, she has worked in many areas of federated query compilation, including query semantics, query rewrite, pushdown analysis and query optimization. She currently works in the WebSphere Information Integrator Federated Query Compiler team, focusing on general federated query processing.
Aakash Bordia (bordia@us.ibm.com), Advisory Software Engineer, IBM
Aakash Bordia photo
Aakash Bordia is an advisory software engineer at the Silicon Valley Laboratory in San Jose, Calif. After graduating from the University of Illinois in January 2000, he joined the IBM DB2 Warehouse Manager development team and contributed to SQL-based warehouse transformations. In 2002, he moved to the WebSphere Federation Server team where he has been a compiler/optimizer and QA engineer.
Eileen Lin (etlin@us.ibm.com), Senior Technical Staff Member, IBM
Eileen Lin
Dr. Eileen Lin is a senior technical staff member in Silicon Valley Laboratory in San Jose, Calif. She is one of the original members responsible for the success of DataJoiner, a federated database product that is the predecessor of the federation technology in DB2. Currently, she is the architect for the data federation technology in WebSphere Federation Server. Dr. Lin has many patents covering areas such as federation technology, query optimization, and parallel query processing.

Summary:  XML Federation in WebSphere® Federation Server Version 9.5 allows you to seamlessly integrate with remote XML data from XML documents and DB2® for Linux®, UNIX®, and Windows® (DB2) sources enabled with pureXML technology. Not only can you use the SQL/XML and XQuery languages to manipulate remote XML data, you can also perform other operations such as decomposition, schema validation, and executing XML utilities. In this article, you'll walk through various use cases to help you build your distributed XML applications quickly.

Date:  15 May 2008
Level:  Intermediate PDF:  A4 and Letter (96 KB | 18 pages)Get Adobe® Reader®

Activity:  4980 views
Comments:  

Before you start

Learn what to expect from this tutorial, and how to get the most out of it.

About this tutorial

IBM® WebSphere Federation Server provides real-time, virtualized access to disparate data sources. As a result, you benefit from delivering new projects with a much shorter time to market, extending your warehouse with ad-hoc queries, and producing a unified view for your enterprise data.

With the XML Federation feature, WebSphere Federation Server Version 9.5 provides direct access to remote XML data in DB2 and XML documents. You can create a relational nickname over a remote table or view that contains the XML data type. You can also use the XML wrapper to create a nonrelational nickname that contains the XML data type over XML documents.

You can use these nicknames in the XQuery and SQL languages. The XQuery language is the primary mechanism for querying XML documents. You can use SQL to perform basic operations, such as selecting XML columns, and inserting, updating, or deleting XML data. You can also integrate SQL and XQuery to create queries for both existing relational data and XML data by using SQL/XML functions and predicates, and XQuery functions.

In addition, you can perform a sub-document update, which allows portions of an XML document to be updated. Also, the federated server can validate remote XML data. XML validation is the process of determining whether the structure, content, and data types of an XML document are valid. Finally, with annotated XML schema decomposition, you can decompose documents in columns of one or more nicknames.


Objectives

Take advantage of this XML Federation feature in WebSphere Federation Server Version 9.5. Using a scenario about books, inventory, and reviews, you will walk through various use cases to demonstrate the use of the SQL/XML and the XQuery languages to manipulate your remote XML data. This tutorial also covers related XML support such as IMPORT, EXPORT, XML schema validation, and decomposition. For those of you who would like to try out the examples, the Appendix includes sample data and configuration scripts.


Prerequisites

You should have prior knowledge and experience working with DB2 and WebSphere Federation Server.


System requirements

You must have WebSphere Federation Server Version 9.5 installed and running on your machine. You also need to have a DB2 9.1 instance and database available as a remote DB2 data source to be accessed in the examples. Alternatively, you can also use another database on the same WebSphere Federation Server Version 9.5 instance as the remote DB2 data source.

1 of 8 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management, WebSphere, XML
ArticleID=306871
TutorialTitle=Integrate XML into your enterprise using WebSphere Federation Server Version 9.5
publish-date=05152008
author1-email=ursu@us.ibm.com
author1-email-cc=
author2-email=bordia@us.ibm.com
author2-email-cc=
author3-email=etlin@us.ibm.com
author3-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.