| By Java News Desk | Article Rating: |
|
| August 27, 2005 03:00 PM EDT | Reads: |
7,598 |
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 7,598
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. |
||||
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Journal Opens "Readers' Choice Awards" Nominations
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Industry Experts Discuss the State of Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- It's the Java vs. C++ Shootout Revisited!
- The End of IT 1.0 As We Know It Has Begun
- An Introduction to Abbot
- Java Kicks Ruby on Rails in the Butt
- Interviewing Java Developers With Tears in My Eyes
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- How to Diagnose Java Resource Starvation
- REA Is Where RIA Becomes the Norm
- Kindle 2 vs Nook
- Anatomy of a Java Finalizer
- Why IBM’s Server Chief Got Busted
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- 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
- What's New in Eclipse?





























