| By Java News Desk | Article Rating: |
|
| August 27, 2005 03:00 PM EDT | Reads: |
8,973 |
The XQuery language is designed specifically for XML programming and
data integration, and programmers are more productive using XQuery for
these tasks, say Jonathan Robie (recent winner of an InfoWorld Top Innovator Award) and Jonathan Bruce of DataDirect.
"However, many enterprise applications are built on the
Java platform, and often require functionality not found in XQuery," they point out. So they have written a detailed tutorial that can now be found at the Bedford, MA-based company's website at www.datadirect.com
"The XQuery API for Java, currently under development as JSR 225,
lets programmers have the best of both worlds," the authors say, "using XQuery for XML
programming and data integration, with full access to the J2SE and J2EE
platforms. XQJ allows a Java program to connect to XML data sources,
prepare and issue XQueries, and process the results as XML.
This tutorial shows how XQJ is used to issue XQueries and obtain
results. Next, it shows how XQJ can be used to query DOM trees, perform
joins between XML and relational sources, obtain results using StAX,
and issue prepared XQueries (similar to JDBC's prepared statements). It then moves onto four complete, working XQJ programs, including one
that uses StAX to handle output. These programs are based on the Early
Draft Review of JSR-225, released in May 2004. Code examples were
tested with a pre-release version of DataDirect XQuery, which
implements XQuery and XQJ.
Published August 27, 2005 Reads 8,973
Copyright © 2005 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Java News Desk
JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.
![]() |
JDJ News Desk 08/27/05 03:37:48 PM EDT | |||
The XQuery API for Java, currently under development as JSR 225, lets programmers have the best of both worlds, using XQuery for XML programming and data integration, with full access to the J2SE and J2EE platforms, according to Jonathan Robie and Jonathan Bruce at DataDirect. Now the two have written an extensive tutorial on this subject. |
||||
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Cross-Platform Mobile Website Development – a Tool Comparison
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Immersing into JavaScript Frameworks
- Workday Reportedly Prepping to Go Public
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Book Review: Sams Teach Yourself Java in 24 Hours
- OpenOffice.com Lives
- Book Excerpt: Introducing HTML5
- Adobe Sends Flex to the Apache Foundation
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Excerpt: Java Application Profiling Tips and Tricks
- i-Technology in 2012: Five Industry Predictions
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- OpenXava 4.3: Rapid Java Web Development
- The Next Web Architecture
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Is Write Once Run Anywhere Ever Going to Be a Reality?
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?

















