Q&A: Getting a grip on XQuery
One of its prime movers explains the importance of the query language
Computerworld - XML seems unstoppable. On the Web, this general-purpose document display language is rapidly replacing HTML. In the office, Microsoft Corp. and OpenOffice have both moved to XML document formats. Even the big database vendors are turning their databases into relational/XML hybrids. That latter effort should get a boost by the end of the year, when XQuery, the XML counterpart to the conventional SQL database language, is expected to be become an officially recommended standard of the World Wide Web Consortium.
Jonathan Robie, XQuery technology lead at DataDirect Technologies, a subsidiary of Progress Software Corp., is one of the prime movers behind the XQuery standard. He spoke with Computerworld about XQuery's importance and its effect on business IT users.
How would you explain the importance of XQuery to an IT manager or CIO? If you've got objects, you want an object-oriented programming language. If you've got relational tables, you want SQL. If you've got XML, you want an XML programming language. You could mix and match and, for instance, use Java to program a relational database. But you would write a lot more code, it's a lot more complicated, and you end up fighting the data you're working with. For data integration, XQuery also has a unique advantage. Usually, you have to learn a new [application programming interface] for every different data source you work with. Then you have to do a lot of programming to integrate the data and bring it together. XQuery gets rid of all that. It lets you query everything as if it were XML and create an XML result. You don't have all of those APIs cluttering everything up.
What are some real-world implications of that? Could you enable more powerful searching of the Web, more powerful than Google today, for instance? There is a full-text search standard for XQuery, but most XQuery implementations now are not about full-text search. I think of XQuery more in terms of when you have a bunch of disparate data sources in your enterprise -- some databases, some configuration files, some programs -- and you want to integrate all that data for Web services or Web sites.
So XQuery might let you eventually sidestep some of the current data integration, data cleansing or master data management products out there today? Yes, absolutely. People are taking procedural and pipeline approaches to getting data together. That involves a bunch of middleware or Web services interfaces. A simple declarative query is what you'd really like. You can bypass many steps, save on massive amounts of code and avoid potential mistakes.



- Excel 2010 Cheat Sheet
- Register for this Computerworld Insider Cheat Sheet and gain access to hundreds of premium content articles, guides, product reviews and more.
- Forrester Total Economic Impact (TEI) Case Study - Oracle
- In this paper, Forrester Consulting examines the total economic impact and potential return on investment (ROI) realized by three Enterprise organizations as they...
- The Hidden Truth About Virtualizing Business-Critical Applications
- This IDG whitepaper highlights key findings based on the Quickpoll Survey conducted with more than 300 Enterprise and Commercial IT decision makers worldwide...
- Top 10 Myths About Virtualizing Business-Critical Applications
- Even though virtualization has brought positive change to enterprise IT over the last decade, some skepticism remains about how valuable virtualization can be...
- Enterprise Java Applications on VMware: Unix to Linux Migration Guide
- This guide focuses on key considerations for IT Architects who are in the process of migrating Java applications from UNIX to Linux as...
- Virtualizing Tier 1 Applications: A Critical Step on the Journey Toward the Private Cloud
- This IDC white paper explains how much of the Enterprise IT community is at a crossroads in extending their journey to the private... All Applications White Papers
- Live Webcast
Banish Poor Application Performance: Eliminate Business Disruptions, Increase End User Productivity - End User Experience, 30-Min Webinar
Wed. Feb. 22nd ~ 11 AM ET
Are you ready to gain the proactive ability to rapidly respond... - Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
- Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
- Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
- Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and...
- Virtualize Business-Critical Applications with Confidence
- Virtualizing business-critical applications has become a key focus for organizations as they move along their virtualization journey. With the launch of VMware vSphere®...
- Discover the Benefits of Virtualization for Federal Applications
- Want to say goodbye to missed SLAs? VMware can help you virtualize mission-critical applications such as Oracle, MS Exchange and SharePoint to achieve...
- Reduce Application Lifecycle Management Costs with VMware ThinApp
- Traditional desktop application deployment and management is a time-consuming and costly endeavor for IT. From development to deployment, including help desk support, the... All Applications Webcasts