Sign in to save your progress (Learn more)
Saving your progress (Learn more)
1. Learn XQuery principles and syntax
XQuery, an official World Wide Web Consortium (W3C) recommendation, is a functional language for extracting information from XML documents. A superset of XML Path Language (XPath), XQuery lets you select precise sets of data from an XML document or documents and output an XML structure. Learn what XQuery is all about and take it for a test drive (sans Java) via pureXML, a native XML engine in IBM DB2.
2. Invoke XQuery from Java code
With XQuery syntax under your belt, you can exploit the XQuery API for Java (XQJ) to invoke XQuery within Java applications. XQJ — a Java platform standard implemented in various data-integration products — defines a set of interfaces and classes that enable a Java application to submit XQuery queries to an XML data source and process the results.
3. Leverage XQJ for more-advanced applications
Take XQuery processing via XQJ to a higher level in your Java applications. XQuery functions enable you to define common expressions once and reuse them frequently, resulting in code that's tighter, more robust, and easier to maintain. And explore the advantages of using XQuery as the view technology in web applications that follow the Model-View-Controller pattern.
4. Graduate to pureQuery
IBM pureQuery is a high-performance platform for developing and managing Java applications that access data from a database. pureQuery's data-access API can be easily extended to support both querying of XML documents stored in an XML column in a DB2 pureXML database and mapping of XML result sets into collections of Java objects. Learn how to develop pureQuery applications that work with pureXML data.
Rate this content
Give us feedback
Submission failed. Please try again.
Please complete one of the following questions before submitting.
Sign into give us your feedback
