| By Java News Desk | Article Rating: |
|
| August 27, 2005 03:00 PM EDT | Reads: |
7,458 |
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,458
Copyright © 2005 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
About 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. |
||||
- Performance of Java Compilers: An Empirical Study
- Java Kicks Ruby on Rails in the Butt
- Ulitzer’s Amazing First 30 Days in Public Beta
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- REA Is Where RIA Becomes the Norm
- Why an Application Grid?
- Will Ulitzer Dominate News Content on The Web? -Gartner
- Clear Toolkit 4: The Road Map
- Profiling Netbeans within Amazon EC2
- Java Persistence on the Grid: Approaches to Integration
- Performance of Java Compilers: An Empirical Study
- Java Kicks Ruby on Rails in the Butt
- Developing Rich Client Applications Using Swing - II
- The Right Time for Real Time Java
- Xpress Suite Adds Automatic Java to iPhone Conversion
- Ulitzer’s Amazing First 30 Days in Public Beta
- Initial Thoughts on IBM Acquisition of Sun Microsystems
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- Maximizing Java Performance with Bespoke Programming
- REA Is Where RIA Becomes the Norm
- 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
- What's New in Eclipse?
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate






































